[igt-dev] [PATCH i-g-t v3 3/5] i915/i915_pm_rpm: gem-execbuf-stress PC8 timeout

Anshuman Gupta anshuman.gupta at intel.com
Wed Mar 3 05:07:35 UTC 2021


Use a optimum PC8 timeout value for gem-execbuf-stress-pc8
igt test.

Signed-off-by: Anshuman Gupta <anshuman.gupta at intel.com>
---
 tests/i915/i915_pm_rpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index c78277aa..290d1223 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -1410,7 +1410,7 @@ static void gem_execbuf_stress_subtest(int rounds, int wait_flags)
 			igt_assert(wait_for_suspended());
 		}
 		if (wait_flags & WAIT_PC8_RES)
-			igt_assert(pc8_plus_residency_changed(30));
+			igt_assert(pc8_plus_residency_changed(PC8_TIMEOUT));
 		if (wait_flags & WAIT_EXTRA)
 			sleep(5);
 	}
-- 
2.26.2



More information about the igt-dev mailing list