Skip to contentSkip to conversation

tests/kms_rotate_crc: Test to verify rotation of planes through CRC

PATCH Superseded [email protected] 1 participant 2 messages Feb 7, 2014 – Feb 12, 2014

lore
Share & tools
lore
#0 lore raw

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
index a8c0c96..c19fc88 100644
@@ -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

#1 lore raw

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
index a8c0c96..20b735d 100644
@@ -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