From 03a62cf055481f66b4f58e6228bc45f8ca454216 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Mon, 14 May 2018 09:30:25 +0300 Subject: pm_rpm: Lower the timeout for PC8 entry to 30s The timeout for PC8+ residency change is lowered to 30s. During testing the entry always happened in ~10s, so thrice that should be a safe bet. (active USB keyboard, network and screen, no powertop --auto-tune) Cc: Paulo Zanoni Cc: Martin Peres Signed-off-by: Arkadiusz Hiler Reviewed-by: Chris Wilson Acked-by: Paulo Zanoni --- tests/pm_rpm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/pm_rpm.c b/tests/pm_rpm.c index ffc14fa8..51d8f366 100644 --- a/tests/pm_rpm.c +++ b/tests/pm_rpm.c @@ -741,7 +741,7 @@ static void pc8_residency_subtest(void) /* Make sure PC8+ residencies move! */ disable_all_screens(&ms_data); - igt_assert_f(pc8_plus_residency_changed(120), + igt_assert_f(pc8_plus_residency_changed(30), "Machine is not reaching PC8+ states, please check its " "configuration.\n"); @@ -770,7 +770,7 @@ static void modeset_subtest(enum screen_type type, int rounds, int wait_flags) if (wait_flags & WAIT_STATUS) igt_assert(wait_for_suspended()); if (wait_flags & WAIT_PC8_RES) - igt_assert(pc8_plus_residency_changed(120)); + igt_assert(pc8_plus_residency_changed(30)); if (wait_flags & WAIT_EXTRA) sleep(5); @@ -1275,7 +1275,7 @@ static void gem_execbuf_stress_subtest(int rounds, int wait_flags) if (wait_flags & WAIT_STATUS) igt_assert(wait_for_suspended()); if (wait_flags & WAIT_PC8_RES) - igt_assert(pc8_plus_residency_changed(120)); + igt_assert(pc8_plus_residency_changed(30)); if (wait_flags & WAIT_EXTRA) sleep(5); } -- cgit v1.2.3