[Intel-gfx] [PATCH i-g-t 2/2] igt/kms_rotation_crc: Add RGB565 90 degree test for gen>9
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Mon Dec 4 13:21:23 UTC 2017
>From Gen10 onwards RGB565 90 degree rotation is supported in hw.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at 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
More information about the Intel-gfx
mailing list