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 <ch...@chris-wilson.co.uk>
---
 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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to