Skip to contentSkip to conversation

kms_plane_crc: Add a basic CRC based planes test ala. ksm_cursor_crc

PATCH New [email protected] 1 participant 1 message Jan 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms_plane_crc: Add a basic CRC based planes test ala. ksm_cursor_crc

From: Ville Syrjälä <[email protected]>

The test uses a 64x64 plane and moves it aroudn the screen corners like kms_cursor_crc does with cursors. We alternate between black and white framebuffers on both the crtc and plane in question.

On platforms that have scalable sprites, we also test if the crc behaves as expected when we scale up the 64x64 image to cover the entire screen.

---
 tests/Android.mk       |   1 +
 tests/Makefile.sources |   1 +
 tests/kms_plane_crc.c  | 498 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 500 insertions(+)
 create mode 100644 tests/kms_plane_crc.c
tests/Android.mk +1 -0
index c65f94c..c097aa6 100644
@@ -96,6 +96,7 @@ skip_tests_list := \
     kms_flip \
     kms_pipe_crc_basic \
     kms_fbc_crc \
+    kms_plane_crc \
     kms_render \
     kms_setmode \
     pm_pc8 \
tests/Makefile.sources +1 -0
index c586bd3..cf4564e 100644
@@ -58,6 +58,7 @@ TESTS_progs_M = \
 	kms_fbc_crc \
 	kms_flip \
 	kms_pipe_crc_basic \
+	kms_plane_crc \
 	kms_render \
 	kms_setmode \
 	pm_lpsp \
tests/kms_plane_crc.c new file +498 -0

498 lines not on this page · raw message

Signature · 6 lines
1.8.3.2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx