[igt-dev] [i-g-t 3/4] tests/intel/kms_ccs: Rename subtests

Bhanuprakash Modem bhanuprakash.modem at intel.com
Fri Oct 6 07:58:18 UTC 2023


Use '-' instead of '_' while naming subtests.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/intel/kms_ccs.c | 82 +++++++++++++++++++++----------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

diff --git a/tests/intel/kms_ccs.c b/tests/intel/kms_ccs.c
index 9df094a4d..09b98fbec 100644
--- a/tests/intel/kms_ccs.c
+++ b/tests/intel/kms_ccs.c
@@ -61,14 +61,14 @@
  *
  * arg[3]:
  *
- * @y_tiled_ccs:               Y tiled ccs
- * @y_tiled_gen12_mc_ccs:      Y tiled gen12 mc ccs
- * @y_tiled_gen12_rc_ccs:      Y tiled gen12 rc ccs
- * @y_tiled_gen12_rc_ccs_cc:   Y tiled gen12 rc ccs cc
- * @yf_tiled_ccs:              YF tiled ccs
- * @4_tiled_mtl_mc_ccs:        4 tiled mtl mc ccs
- * @4_tiled_mtl_rc_ccs:        4 tiled mtl rc ccs
- * @4_tiled_mtl_rc_ccs_cc:     4 tiled mtl rc ccs cc
+ * @y-tiled-ccs:               Y tiled ccs
+ * @y-tiled-gen12-mc-ccs:      Y tiled gen12 mc ccs
+ * @y-tiled-gen12-rc-ccs:      Y tiled gen12 rc ccs
+ * @y-tiled-gen12-rc-ccs-cc:   Y tiled gen12 rc ccs cc
+ * @yf-tiled-ccs:              YF tiled ccs
+ * @4-tiled-mtl-mc-ccs:        4 tiled mtl mc ccs
+ * @4-tiled-mtl-rc-ccs:        4 tiled mtl rc ccs
+ * @4-tiled-mtl-rc-ccs-cc:     4 tiled mtl rc ccs cc
  */
 
 /**
@@ -99,17 +99,17 @@
  *
  * arg[3]:
  *
- * @4_tiled_dg2_mc_ccs:        4 tiled mc ccs
- * @4_tiled_dg2_rc_ccs:        4 tiled dg2 rc ccs
- * @4_tiled_dg2_rc_ccs_cc:     4 tiled dg2 rc ccs cc
- * @4_tiled_mtl_mc_ccs:        4 tiled mtl mc ccs
- * @4_tiled_mtl_rc_ccs:        4 tiled mtl rc ccs
- * @4_tiled_mtl_rc_ccs_cc:     4 tiled mtl rc ccs cc
- * @y_tiled_ccs:               Y tiled ccs
- * @y_tiled_gen12_mc_ccs:      Y tiled gen12 mc ccs
- * @y_tiled_gen12_rc_ccs:      Y tiled gen12 rc ccs
- * @y_tiled_gen12_rc_ccs_cc:   Y tiled gen12 rc ccs cc
- * @yf_tiled_ccs:              YF tiled ccs
+ * @4-tiled-dg2-mc-ccs:        4 tiled mc ccs
+ * @4-tiled-dg2-rc-ccs:        4 tiled dg2 rc ccs
+ * @4-tiled-dg2-rc-ccs-cc:     4 tiled dg2 rc ccs cc
+ * @4-tiled-mtl-mc-ccs:        4 tiled mtl mc ccs
+ * @4-tiled-mtl-rc-ccs:        4 tiled mtl rc ccs
+ * @4-tiled-mtl-rc-ccs-cc:     4 tiled mtl rc ccs cc
+ * @y-tiled-ccs:               Y tiled ccs
+ * @y-tiled-gen12-mc-ccs:      Y tiled gen12 mc ccs
+ * @y-tiled-gen12-rc-ccs:      Y tiled gen12 rc ccs
+ * @y-tiled-gen12-rc-ccs-cc:   Y tiled gen12 rc ccs cc
+ * @yf-tiled-ccs:              YF tiled ccs
  */
 
 /**
@@ -138,17 +138,17 @@
  *
  * arg[3]:
  *
- * @4_tiled_dg2_mc_ccs:        4 tiled mc ccs
- * @4_tiled_dg2_rc_ccs:        4 tiled dg2 rc ccs
- * @4_tiled_dg2_rc_ccs_cc:     4 tiled dg2 rc ccs cc
- * @4_tiled_mtl_mc_ccs:        4 tiled mtl mc ccs
- * @4_tiled_mtl_rc_ccs:        4 tiled mtl rc ccs
- * @4_tiled_mtl_rc_ccs_cc:     4 tiled mtl rc ccs cc
- * @y_tiled_ccs:               Y tiled ccs
- * @y_tiled_gen12_mc_ccs:      Y tiled gen12 mc ccs
- * @y_tiled_gen12_rc_ccs:      Y tiled gen12 rc ccs
- * @y_tiled_gen12_rc_ccs_cc:   Y tiled gen12 rc ccs cc
- * @yf_tiled_ccs:              YF tiled ccs
+ * @4-tiled-dg2-mc-ccs:        4 tiled mc ccs
+ * @4-tiled-dg2-rc-ccs:        4 tiled dg2 rc ccs
+ * @4-tiled-dg2-rc-ccs-cc:     4 tiled dg2 rc ccs cc
+ * @4-tiled-mtl-mc-ccs:        4 tiled mtl mc ccs
+ * @4-tiled-mtl-rc-ccs:        4 tiled mtl rc ccs
+ * @4-tiled-mtl-rc-ccs-cc:     4 tiled mtl rc ccs cc
+ * @y-tiled-ccs:               Y tiled ccs
+ * @y-tiled-gen12-mc-ccs:      Y tiled gen12 mc ccs
+ * @y-tiled-gen12-rc-ccs:      Y tiled gen12 rc ccs
+ * @y-tiled-gen12-rc-ccs-cc:   Y tiled gen12 rc ccs cc
+ * @yf-tiled-ccs:              YF tiled ccs
  */
 
 #define SDR_PLANE_BASE	3
@@ -218,17 +218,17 @@ static const struct {
 	uint64_t modifier;
 	const char *str;
 } ccs_modifiers[] = {
-	{I915_FORMAT_MOD_Y_TILED_CCS, "y_tiled_ccs"},
-	{I915_FORMAT_MOD_Yf_TILED_CCS, "yf_tiled_ccs"},
-	{I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, "y_tiled_gen12_rc_ccs"},
-	{I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC, "y_tiled_gen12_rc_ccs_cc"},
-	{I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS, "y_tiled_gen12_mc_ccs"},
-	{I915_FORMAT_MOD_4_TILED_DG2_RC_CCS, "4_tiled_dg2_rc_ccs"},
-	{I915_FORMAT_MOD_4_TILED_DG2_MC_CCS, "4_tiled_dg2_mc_ccs"},
-	{I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC, "4_tiled_dg2_rc_ccs_cc"},
-	{I915_FORMAT_MOD_4_TILED_MTL_RC_CCS, "4_tiled_mtl_rc_ccs"},
-	{I915_FORMAT_MOD_4_TILED_MTL_MC_CCS, "4_tiled_mtl_mc_ccs"},
-	{I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC, "4_tiled_mtl_rc_ccs_cc"},
+	{I915_FORMAT_MOD_Y_TILED_CCS, "y-tiled-ccs"},
+	{I915_FORMAT_MOD_Yf_TILED_CCS, "yf-tiled-ccs"},
+	{I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, "y-tiled-gen12-rc-ccs"},
+	{I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC, "y-tiled-gen12-rc-ccs-cc"},
+	{I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS, "y-tiled-gen12-mc-ccs"},
+	{I915_FORMAT_MOD_4_TILED_DG2_RC_CCS, "4-tiled-dg2-rc-ccs"},
+	{I915_FORMAT_MOD_4_TILED_DG2_MC_CCS, "4-tiled-dg2-mc-ccs"},
+	{I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC, "4-tiled-dg2-rc-ccs-cc"},
+	{I915_FORMAT_MOD_4_TILED_MTL_RC_CCS, "4-tiled-mtl-rc-ccs"},
+	{I915_FORMAT_MOD_4_TILED_MTL_MC_CCS, "4-tiled-mtl-mc-ccs"},
+	{I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC, "4-tiled-mtl-rc-ccs-cc"},
 };
 
 static bool check_ccs_planes;
-- 
2.40.0



More information about the igt-dev mailing list