public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/3] i915/gem_eio: Retighten timeouts for forced reset
@ 2019-10-05 10:55 Chris Wilson
  2019-10-05 10:55 ` [PATCH i-g-t 2/3] i915/gem_eio: Show engine status before resets Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chris Wilson @ 2019-10-05 10:55 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

The forced-reset itself should be immediate; it's just the wait after
the health check where we appear to have issues!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 tests/i915/gem_eio.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
index 007b9fb70..7c8ff10df 100644
--- a/tests/i915/gem_eio.c
+++ b/tests/i915/gem_eio.c
@@ -76,12 +76,15 @@ static void trigger_reset(int fd)
 	igt_kmsg(KMSG_DEBUG "Forcing GPU reset\n");
 	igt_force_gpu_reset(fd);
 
+	/* The forced reset should be immediate */
+	igt_assert_lte(igt_seconds_elapsed(&ts), 2);
+
 	/* And just check the gpu is indeed running again */
 	igt_kmsg(KMSG_DEBUG "Checking that the GPU recovered\n");
 	gem_test_engine(fd, ALL_ENGINES);
 	igt_drop_caches_set(fd, DROP_ACTIVE);
 
-	/* We expect forced reset and health check to be quick. */
+	/* We expect health check to be quick. */
 	igt_assert_lte(igt_seconds_elapsed(&ts), 10);
 }
 
-- 
2.23.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-07 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-05 10:55 [PATCH i-g-t 1/3] i915/gem_eio: Retighten timeouts for forced reset Chris Wilson
2019-10-05 10:55 ` [PATCH i-g-t 2/3] i915/gem_eio: Show engine status before resets Chris Wilson
2019-10-05 13:44   ` Andi Shyti
2019-10-05 10:55 ` [PATCH i-g-t 3/3] i915/gem_softpin: Replace constant loop with timeout Chris Wilson
2019-10-05 13:46   ` Andi Shyti
2019-10-07 16:57 ` [igt-dev] [PATCH i-g-t 1/3] i915/gem_eio: Retighten timeouts for forced reset Tvrtko Ursulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox