summaryrefslogtreecommitdiff
path: root/tests/kms_rotation_crc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-07-08 18:48:35 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-07-11 15:12:22 +0100
commitfe8373d4376817de93d9bfc278005f2c67dcba50 (patch)
tree06d8488aae940f59067c3f8c7ca8716275255f53 /tests/kms_rotation_crc.c
parentffc954e739fb58b3ad4336a42a35c417df875253 (diff)
kms_rotation_crc: Remove the sleep(2)
One can inspect the output of the igt_kms API by setting IGT_DISPLAY_WAIT_AT_COMMIT=1. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r--tests/kms_rotation_crc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 5b195f95..701fa702 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);
}