[igt-dev] [PATCH i-g-t 1/2] tests/i915/kms_ccs: Fix 4tiled rc ccs and color clear tests

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Mon Jun 6 09:05:10 UTC 2022


4tiled rc ccs and color clear tests were testing wrong things
because wrong modifier was used for choosing test path.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
 tests/i915/kms_ccs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/kms_ccs.c b/tests/i915/kms_ccs.c
index 39bf6d58b..4df611f77 100644
--- a/tests/i915/kms_ccs.c
+++ b/tests/i915/kms_ccs.c
@@ -161,7 +161,7 @@ create_fb_prepare_add(int drm_fd, int width, int height,
 static bool is_ccs_cc_modifier(uint64_t modifier)
 {
 	return modifier == I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS_CC ||
-		modifier == I915_FORMAT_MOD_4_TILED_DG2_RC_CCS;
+		modifier == I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC;
 }
 
 /*
-- 
2.28.0



More information about the igt-dev mailing list