[PATCH i-g-t v2 09/18] tests/kms_plane: Skip 10bpc formats with media compression
Ville Syrjala
ville.syrjala at linux.intel.com
Wed Sep 18 12:05:09 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.
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tests/kms_plane.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index a6b5d4f8aa2a..77a669dc540b 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1012,6 +1012,11 @@ static bool skip_format_mod(data_t *data,
modifier == DRM_FORMAT_MOD_QCOM_COMPRESSED)
return true;
+ /* VEBOX just hangs with an actual 10bpc format */
+ if (igt_fb_is_gen12_mc_ccs_modifier(modifier) &&
+ igt_reduce_format(format) == DRM_FORMAT_XRGB2101010)
+ return true;
+
/* test each format "class" only once in non-extended tests */
if (!data->extended && modifier != DRM_FORMAT_MOD_LINEAR) {
struct format_mod rf = {
--
2.44.2
More information about the igt-dev
mailing list