From 553d594b6efd117497791e708146588268c992a9 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 14 Mar 2014 11:01:09 +0100 Subject: [PATCH] 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 Cc: Chris Wilson Signed-off-by: Daniel Vetter --- tests/pm_rps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index f5af9c2..d964f2a 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; -- 2.7.4