From: Antti Koskipaa Subject: [PATCH i-g-t v2 8/8] kms_cursor_crc: Add background picture Date: Thu, 10 Apr 2014 15:08:12 +0300 Message-ID: <1397131692-2857-9-git-send-email-antti.koskipaa@linux.intel.com> References: <1397131692-2857-1-git-send-email-antti.koskipaa@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id CA07A6E211 for ; Thu, 10 Apr 2014 05:08:36 -0700 (PDT) In-Reply-To: <1397131692-2857-1-git-send-email-antti.koskipaa@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 --- tests/kms_cursor_crc.c | 1 + 1 file changed, 1 insertion(+) 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); -- 1.8.3.2