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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 drivers/gpu/drm/i915/i915_reset.c | 1 +
 1 file changed, 1 insertion(+)

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

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux