[igt-dev] [PATCH i-g-t] i915/gem_eio: Relax timeout for forced resets

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 2 11:19:43 UTC 2019


It appears we cannot consistently hit our self-imposed QoS target of 2s
for performing the reset (my theory is that is some RCU scheduling
quirk), so relax the assertion to a measly 10s.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105957
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/i915/gem_eio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index 7adb5467f..007b9fb70 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -82,7 +82,7 @@ static void trigger_reset(int fd)
 	igt_drop_caches_set(fd, DROP_ACTIVE);
 
 	/* We expect forced reset and health check to be quick. */
-	igt_assert(igt_seconds_elapsed(&ts) < 2);
+	igt_assert_lte(igt_seconds_elapsed(&ts), 10);
 }
 
 static void manual_hang(int drm_fd)
-- 
2.23.0



More information about the igt-dev mailing list