Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [i-g-t 1/4] lib/igt_fb: Use small case for modifier name
Date: Fri,  6 Oct 2023 13:28:16 +0530	[thread overview]
Message-ID: <20231006075819.3055887-2-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20231006075819.3055887-1-bhanuprakash.modem@intel.com>

As few tests are using modifier name as subtest, let's keep
it as a small case. Also, don't mix '_' & '-'.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 lib/igt_fb.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 54a66eb6a..50b49102b 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -4919,32 +4919,32 @@ const char *igt_fb_modifier_name(uint64_t modifier)
 	case DRM_FORMAT_MOD_LINEAR:
 		return "linear";
 	case I915_FORMAT_MOD_X_TILED:
-		return "X";
+		return "x";
 	case I915_FORMAT_MOD_Y_TILED:
-		return "Y";
+		return "y";
 	case I915_FORMAT_MOD_Yf_TILED:
-		return "Yf";
+		return "yf";
 	case I915_FORMAT_MOD_Y_TILED_CCS:
-		return "Y-CCS";
+		return "y-ccs";
 	case I915_FORMAT_MOD_Yf_TILED_CCS:
-		return "Yf-CCS";
+		return "yf-ccs";
 	case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS:
-		return "Y-RC_CCS";
+		return "y-rc-ccs";
 	case I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC:
-		return "Y-RC_CCS-CC";
+		return "y-rc-ccs-cc";
 	case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:
-		return "Y-MC_CCS";
+		return "y-mc-ccs";
 	case I915_FORMAT_MOD_4_TILED:
 		return "4";
 	case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS:
 	case I915_FORMAT_MOD_4_TILED_DG2_RC_CCS:
-		return "4-RC_CCS";
+		return "4-rc-ccs";
 	case I915_FORMAT_MOD_4_TILED_MTL_MC_CCS:
 	case I915_FORMAT_MOD_4_TILED_DG2_MC_CCS:
-		return "4-MC_CCS";
+		return "4-mc-ccs";
 	case I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC:
 	case I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC:
-		return "4-RC_CCS-CC";
+		return "4-rc-ccs-cc";
 	default:
 		return "?";
 	}
-- 
2.40.0

  reply	other threads:[~2023-10-06  8:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06  7:58 [igt-dev] [i-g-t 0/4] KMS: Minor cleanups Bhanuprakash Modem
2023-10-06  7:58 ` Bhanuprakash Modem [this message]
2023-10-06  8:18   ` [igt-dev] [i-g-t 1/4] lib/igt_fb: Use small case for modifier name B, Jeevan
2023-10-06  7:58 ` [igt-dev] [i-g-t 2/4] lib/igt_kms: Expose helper to convert rotation to string Bhanuprakash Modem
2023-10-06  8:23   ` B, Jeevan
2023-10-06  7:58 ` [igt-dev] [i-g-t 3/4] tests/intel/kms_ccs: Rename subtests Bhanuprakash Modem
2023-10-06  8:21   ` B, Jeevan
2023-10-06  7:58 ` [igt-dev] [i-g-t 4/4] tests/kms_rotation_crc: Use helpers from lib Bhanuprakash Modem
2023-10-10 14:51   ` Sharma, Swati2
2023-10-06  9:58 ` [igt-dev] ✗ Fi.CI.BAT: failure for KMS: Minor cleanups Patchwork
2023-10-06 10:07   ` Modem, Bhanuprakash
2023-10-06 12:01     ` Yedireswarapu, SaiX Nandan
2023-10-06 10:45 ` [igt-dev] ✗ CI.xeBAT: " Patchwork
2023-10-06 11:53 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-10-06 21:14 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231006075819.3055887-2-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox