summaryrefslogtreecommitdiff
path: root/tests/kms_frontbuffer_tracking.c
diff options
context:
space:
mode:
authorLofstedt, Marta <marta.lofstedt@intel.com>2018-04-06 15:19:07 +0300
committerPetri Latvala <petri.latvala@intel.com>2018-04-11 14:38:39 +0300
commita914075d55dd089095121906bf4c3e825a3cecf2 (patch)
treeb417c2c01b2df59a5c4e8c34d37fe60895ddb6bc /tests/kms_frontbuffer_tracking.c
parent27cd3793a3a183e4ec70c392f293e840642f2799 (diff)
tests/kms_frontbuffer_tracking: Save runtime by removing sleep.
The kms_frontbuffer_tracking@*suspend subtests spend 20 seconds sleeping around igt_system_suspend_autoresume. I find no other igt test that require sleeping in relation to suspend-resume, so it should be removed. Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r--tests/kms_frontbuffer_tracking.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 97455c22..5dad3b26 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -2822,15 +2822,11 @@ static void suspend_subtest(const struct test_mode *t)
struct modeset_params *params = pick_params(t);
prepare_subtest(t, NULL);
- sleep(5);
igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
- sleep(5);
do_assertions(ASSERT_DRRS_LOW);
unset_all_crtcs();
- sleep(5);
igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
- sleep(5);
do_assertions(ASSERT_FBC_DISABLED | ASSERT_PSR_DISABLED |
DONT_ASSERT_CRC | ASSERT_DRRS_INACTIVE);