[igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED
Rob Clark
robdclark at gmail.com
Tue Aug 8 14:53:34 UTC 2023
From: Rob Clark <robdclark at chromium.org>
We don't know how to generate valid compressed/UBWC data in igt, so
don't try.
Signed-off-by: Rob Clark <robdclark at chromium.org>
---
tests/kms_plane.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index a444cdca23e2..8e7dc75d349c 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1011,6 +1011,11 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
f.modifier != DRM_FORMAT_MOD_LINEAR)
continue;
+ /* igt doesn't know how to sw generate UBWC: */
+ if (is_msm_device(data->drm_fd) &&
+ f.modifier == DRM_FORMAT_MOD_QCOM_COMPRESSED)
+ continue;
+
if (f.format == ref.format &&
f.modifier == ref.modifier)
continue;
--
2.41.0
More information about the igt-dev
mailing list