[Intel-gfx] [PATCH i-g-t] tests/pm_rps: Increase timeouts to 15 seconds

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Tue Apr 5 18:02:13 UTC 2016


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

My BSW takes ~12 seconds to go back to idle after high load, so the
current 10s timeouts are too short. Bump them up to 15s.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 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 484db0b58bde..c3d4417d9c28 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -464,7 +464,7 @@ static void basic_check(void)
 }
 
 #define IDLE_WAIT_TIMESTEP_MSEC 100
-#define IDLE_WAIT_TIMEOUT_MSEC 10000
+#define IDLE_WAIT_TIMEOUT_MSEC 15000
 static void idle_check(void)
 {
 	int freqs[NUMFREQ];
@@ -510,7 +510,7 @@ static void loaded_check(void)
 }
 
 #define STABILIZE_WAIT_TIMESTEP_MSEC 100
-#define STABILIZE_WAIT_TIMEOUT_MSEC 10000
+#define STABILIZE_WAIT_TIMEOUT_MSEC 15000
 static void stabilize_check(int *freqs)
 {
 	int wait = 0;
-- 
2.7.4



More information about the Intel-gfx mailing list