public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/gem_mmap_gtt: Impose a timeout for "hang"
@ 2019-02-12 10:16 Chris Wilson
  2019-02-12 10:49 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2019-02-12 10:16 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev, Mika Kuoppala

Only wait a maximum of 2 more seconds for the hang children to complete,
to catch deadlocks in a timely fashion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
---
 tests/i915/gem_mmap_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_mmap_gtt.c b/tests/i915/gem_mmap_gtt.c
index f9d811ad6..f6fbbe193 100644
--- a/tests/i915/gem_mmap_gtt.c
+++ b/tests/i915/gem_mmap_gtt.c
@@ -450,7 +450,7 @@ test_hang(int fd)
 	igt_info("%lu resets\n", count);
 
 	control->done = true;
-	igt_waitchildren();
+	igt_waitchildren_timeout(2, NULL);
 
 	igt_assert(!control->error);
 	munmap(control, 4096);
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-02-12 12:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-12 10:16 [igt-dev] [PATCH i-g-t] i915/gem_mmap_gtt: Impose a timeout for "hang" Chris Wilson
2019-02-12 10:49 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-02-12 10:56 ` [igt-dev] [Intel-gfx] [PATCH i-g-t] " Mika Kuoppala via igt-dev
2019-02-12 10:58   ` Chris Wilson
2019-02-12 12:44 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

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