[igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
From: Mika Kahola <hidden>
Date: 2021-06-30 09:41:59
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Mika Kahola <hidden>
Date: 2021-06-30 09:41:59
Subsystem:
the rest · Maintainer:
Linus Torvalds
ADL-P platform doesn't support 90/270 rotation. Let's skip to test with these rotations. Signed-off-by: Mika Kahola <redacted> --- tests/kms_plane_scaling.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 2aa46ac8..1dad2e60 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c@@ -165,6 +165,10 @@ static bool can_rotate(data_t *d, unsigned format, uint64_t tiling, if (!is_i915_device(d->drm_fd)) return true; + if (intel_display_ver(d->devid) >= 13 && + (rot == IGT_ROTATION_90 || rot == IGT_ROTATION_270)) + return false; + switch (format) { case DRM_FORMAT_RGB565: if (intel_display_ver(d->devid) >= 11)
--
2.27.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev