Thread (3 messages) 3 messages, 3 authors, 2021-06-30

Re: [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P

From: Juha-Pekka Heikkila <hidden>
Date: 2021-06-30 11:10:05

Reviewed-by: Juha-Pekka Heikkila <redacted>

On 30.6.2021 12.43, Mika Kahola wrote:
quoted hunk ↗ jump to hunk
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)
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help