kms_cursor_crc: Add a cursor test using CRCs

Use the display CRC support to validate cursor plane functionality.
The test will position the cursor plane either fully onscreen,
partially onscreen, or fully offscreen, using either a fully opaque
or fully transparent surface. In each case it then reads the PF CRC
and compares it with the CRC value obtained when the cursor plane
was disabled.

v2: Loop over all connectors and crtcs
    Use igt_wait_for_vblank
    Test more corner cases
    Add some progress indication ala. kms_flip
    Make it work for pf and pipe sources

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä
2013-10-18 17:44:42 +03:00
parent 0786d5cc8f
commit 08c27e3e38
2 changed files with 391 additions and 0 deletions
+1
View File
@@ -52,6 +52,7 @@ TESTS_progs_M = \
gem_tiled_partial_pwrite_pread \
gem_write_read_ring_switch \
kms_addfb \
kms_cursor_crc \
kms_flip \
kms_render \
kms_setmode \