diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-05-14 09:30:25 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-05-14 09:30:25 +0300 |
commit | 03a62cf055481f66b4f58e6228bc45f8ca454216 (patch) | |
tree | 51f705126bcb007ef98627e2951e8c91983f6077 /tests | |
parent | c0b5c02ff04cca24ce593f381352d00b5f322bd4 (diff) |
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 <paulo.r.zanoni@intel.com>
Cc: Martin Peres <martin.peres@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pm_rpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |