[igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
Mika Kahola
mika.kahola at intel.com
Wed Jun 30 09:43:04 UTC 2021
ADL-P platform doesn't support 90/270 rotation. Let's skip to test
with these rotations.
Signed-off-by: Mika Kahola <mika.kahola at intel.com>
---
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
More information about the igt-dev
mailing list