diff mbox series

drm/i915: Show the GEM trace if reset times out

Message ID 20190211213657.20794-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series drm/i915: Show the GEM trace if reset times out | expand

Commit Message

Chris Wilson Feb. 11, 2019, 9:36 p.m. UTC
As a debug aide for CI, include the GEM trace up to the point the reset
times out to try and work out where/why it is timing out.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_reset.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/i915_reset.c b/drivers/gpu/drm/i915/i915_reset.c
index c1b53533ada6..09bacaaedbcb 100644
--- a/drivers/gpu/drm/i915/i915_reset.c
+++ b/drivers/gpu/drm/i915/i915_reset.c
@@ -1356,6 +1356,7 @@  static void i915_wedge_me(struct work_struct *work)
 	dev_err(w->i915->drm.dev,
 		"%s timed out, cancelling all in-flight rendering.\n",
 		w->name);
+	GEM_TRACE_DUMP();
 	i915_gem_set_wedged(w->i915);
 }