From Gen10 onwards RGB565 90 degree rotation is supported in hw.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikk...@gmail.com>
---
 tests/kms_rotation_crc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index f3b9d61..1769264 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -719,6 +719,14 @@ igt_main
                test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY);
        }
 
+       igt_subtest_f("primary-rotation-90-Y-tiled-16bpp") {
+               igt_require(gen >= 10);
+               data.rotation = IGT_ROTATION_90;
+               data.override_fmt = DRM_FORMAT_RGB565;
+               data.override_tiling = LOCAL_I915_FORMAT_MOD_Y_TILED;
+               test_plane_rotation(&data, DRM_PLANE_TYPE_PRIMARY);
+       }
+
        igt_subtest_f("primary-rotation-90-Y-tiled") {
                igt_require(gen >= 9);
                data.rotation = IGT_ROTATION_90;
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to