summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_crc.c
diff options
context:
space:
mode:
authorAntti Koskipaa <antti.koskipaa@linux.intel.com>2014-04-10 15:08:12 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2014-04-25 16:18:19 +0300
commitaaef7ad37614f5d139b06d63b3052ae8cefe57ed (patch)
tree2cc8c9839d5fcc6128cd27e437f2684c41e7d4c9 /tests/kms_cursor_crc.c
parentfafcff90a870844e0febdda4066b361479df3747 (diff)
kms_cursor_crc: Add background picture
This gives the cursor something to be on, instead of just a black background. Slows the test down only one second over six minutes. Signed-off-by: Antti Koskipaa <antti.koskipaa@linux.intel.com>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r--tests/kms_cursor_crc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index e00abf59..589b164d 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -115,6 +115,7 @@ static void do_single_test(test_data_t *test_data, int x, int y)
printf("."); fflush(stdout);
/* Hardware test */
+ igt_paint_test_pattern(cr, test_data->screenw, test_data->screenh);
cursor_enable(test_data);
cursor = igt_output_get_plane(test_data->output, IGT_PLANE_CURSOR);
igt_plane_set_position(cursor, x, y);