summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-14 11:01:09 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-14 11:24:27 +0100
commit553d594b6efd117497791e708146588268c992a9 (patch)
treee6cd5c0feda985199c2fe5d73efaa8114556ebe3
parenta7dd98497a1a9c2dc31f667ad23da86d4b2d7ad9 (diff)
tests/pm_rps: wait longer for idling
Big cores seem to take forever to idle, at least my ivb here. Fairly ridiculous, so maybe there's more room for our debooster to kick in. Anyway, this gets the min-max-config-idle and reset subtests going somewhat reliably on my ivb. They still occasionally fail with the current frequency pegged to max (or close to it) for no apparent reason at all. Rebooting tends to fix it. Don't ask, don't tell. Cc: Jeff McGee <jeff.mcgee@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--tests/pm_rps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index f5af9c2e..d964f2a7 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -416,7 +416,7 @@ static void basic_check(void)
}
#define IDLE_WAIT_TIMESTEP_MSEC 100
-#define IDLE_WAIT_TIMEOUT_MSEC 3000
+#define IDLE_WAIT_TIMEOUT_MSEC 10000
static void idle_check(void)
{
int freqs[NUMFREQ];
@@ -462,7 +462,7 @@ static void loaded_check(void)
}
#define STABILIZE_WAIT_TIMESTEP_MSEC 100
-#define STABILIZE_WAIT_TIMEOUT_MSEC 2000
+#define STABILIZE_WAIT_TIMEOUT_MSEC 10000
static void stabilize_check(int *freqs)
{
int wait = 0;