From: Damien Lespiau Subject: [PATCH i-g-t 32/43] kms_rotation_crc: Remove the sleep(2) Date: Thu, 10 Jul 2014 19:00:33 +0100 Message-ID: <1405015244-11370-33-git-send-email-damien.lespiau@intel.com> References: <1405015244-11370-1-git-send-email-damien.lespiau@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 B7E4B6E776 for ; Thu, 10 Jul 2014 11:01:42 -0700 (PDT) In-Reply-To: <1405015244-11370-1-git-send-email-damien.lespiau@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 One can inspect the output of the igt_kms API by setting IGT_DISPLAY_WAIT_AT_COMMIT=1. Signed-off-by: Damien Lespiau --- tests/kms_rotation_crc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 5b195f9..701fa70 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -152,7 +152,6 @@ static void test_plane_rotation(data_t *data, enum igt_plane plane) for_each_pipe(display, pipe) { if (!prepare_crtc(data, output, pipe)) continue; - sleep(2); data->plane = igt_output_get_plane(output, plane); @@ -164,7 +163,6 @@ static void test_plane_rotation(data_t *data, enum igt_plane plane) igt_pipe_crc_collect_crc(data->pipe_crc, &crc_output); igt_assert(igt_crc_equal(&data->ref_crc, &crc_output)); - sleep(2); valid_tests++; cleanup_crtc(data, output); } -- 1.8.3.1