[PATCH i-g-t 35/37] tests/kms_ccs: Skip 10bpc formats with media compression

Ville Syrjala ville.syrjala at linux.intel.com
Tue Jul 2 23:28:15 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The VEBOX just hangs if we try to use a 10bpc format.
Skip 10bpc with media compression as that would require
using the VEBOX.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/intel/kms_ccs.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/intel/kms_ccs.c b/tests/intel/kms_ccs.c
index 5c18868a062f..60d8dc132105 100644
--- a/tests/intel/kms_ccs.c
+++ b/tests/intel/kms_ccs.c
@@ -871,6 +871,11 @@ static bool try_config(data_t *data, enum test_fb_flags fb_flags,
 	    data->format != DRM_FORMAT_XBGR16161616F)
 		return false;
 
+	/* VEBOX just hangs with an actual 10bpc format */
+	if (igt_fb_is_gen12_mc_ccs_modifier(data->ccs_modifier) &&
+	    data->format == DRM_FORMAT_XRGB2101010)
+		return false;
+
 	if ((fb_flags & FB_MISALIGN_AUX_STRIDE) ||
 	    (fb_flags & FB_SMALL_AUX_STRIDE))
 		fb_width = max(fb_width, 1536);
-- 
2.44.2



More information about the igt-dev mailing list