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

Submitted by Chris Wilson on Feb. 11, 2019, 9:36 p.m.

Details

Message ID 20190211213657.20794-1-chris@chris-wilson.co.uk
State New
Series "drm/i915: Show the GEM trace if reset times out"
Headers show

Commit Message

Chris Wilson Feb. 11, 2019, 9:36 p.m.
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(+)

Patch hide | download patch | download mbox

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);
 }