[PATCH i-g-t v2 2/2] tests/kms_rotation_crc: Intel display version 20 onwards doesn't do hflip with tile4
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Mon Nov 4 19:44:15 UTC 2024
On Intel display version 20 Tile4 no longer can be used with horizontal
flip.
Bspec: 69853
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
tests/kms_rotation_crc.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index e8b6e4ff2..22fb5383b 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -577,6 +577,13 @@ static bool plane_rotation_requirements(data_t *data, igt_plane_t *plane)
data->rotation != (IGT_ROTATION_180 | IGT_REFLECT_X)))
return false;
+ /* Intel display version 20 onwards cannot do reflect-x with tile4 */
+ if (!(!is_intel_device(data->gfx_fd) ||
+ intel_display_ver(data->devid) < 20 ||
+ !(data->override_modifier == I915_FORMAT_MOD_4_TILED &&
+ data->rotation & IGT_REFLECT_X)))
+ return false;
+
return true;
}
--
2.45.2
More information about the igt-dev
mailing list