diff mbox

[i-g-t,v2,8/8] kms_cursor_crc: Add background picture

Message ID 1397131692-2857-9-git-send-email-antti.koskipaa@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Antti Koskipää April 10, 2014, 12:08 p.m. UTC
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>
---
 tests/kms_cursor_crc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index e00abf5..589b164 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);