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

Anshuman Gupta anshuman.gupta at intel.com
Wed May 26 07:20:38 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 7a4c9291..2d6cdf05 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -1402,7 +1402,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