tests/kms_rotate_crc: Test to verify rotation of planes through CRC
PATCH v2 1/1 tests/kms_rotate_crc: Test to verify rotation of planes through CRC
From: Sagar Kamble <[email protected]>
This test will verify 180 degree rotation of CRTC and sprite planes by grabbing CRC for already rotated image and comparing with CRC calculated after triggering rotation through DRM property.
v2: Using cairo_rotate to created reference rotated version of CRTC and Sprite Image. Moved variable data above igt_main. Logging to stdout. Created separate subtest for verifying CRTC alone and CRTC+Sprite combination.
--- tests/Makefile.sources | 1 + tests/kms_rotate_crc.c | 586 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 587 insertions(+) create mode 100644 tests/kms_rotate_crc.c
tests/Makefile.sources +1 -0
@@ -59,6 +59,7 @@ TESTS_progs_M = \ kms_flip \ kms_pipe_crc_basic \ kms_render \ + kms_rotate_crc \ kms_setmode \ pm_lpsp \ pm_pc8 \
tests/kms_rotate_crc.c new file +586 -0
586 lines not on this page · raw message
Signature · 1 line
1.8.5
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 1/1 tests/kms_plane_rotation_crc: Test to verify rotation of planes through CRC
From: Sagar Kamble <[email protected]>
This test will verify 180 degree rotation of CRTC and sprite planes by grabbing CRC for already rotated image and comparing with CRC calculated after triggering rotation through DRM property.
v2: Using cairo_rotate to created reference rotated version of CRTC and Sprite Image. Moved variable data above igt_main. Logging to stdout. Created separate subtest for verifying CRTC alone and CRTC+Sprite combination.
v3: Changed name of the test from kms_rotate_crc to kms_plane_rotation_crc. Removed unnecessary white spaces. Included cairo.h and math.h.
--- tests/Makefile.sources | 1 + tests/kms_plane_rotation_crc.c | 588 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 589 insertions(+) create mode 100644 tests/kms_plane_rotation_crc.c
tests/Makefile.sources +1 -0
@@ -59,6 +59,7 @@ TESTS_progs_M = \ kms_flip \ kms_pipe_crc_basic \ kms_render \ + kms_plane_rotation_crc \ kms_setmode \ pm_lpsp \ pm_pc8 \
tests/kms_plane_rotation_crc.c new file +588 -0
588 lines not on this page · raw message
Signature · 1 line
1.8.5
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx