drm/i915: Record the current requests queue for execlists upon hang
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 13 Oct 2016 10:18:14 +0000 (11:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 13 Oct 2016 12:29:13 +0000 (13:29 +0100)
commit35ca039e0a45fad3b15834059b4ad6697dbc7484
tree8f5d5c6ec8775128f04d3c403fe650fa58922770
parentdb49296ba1e9140f507ab55424e7376d564a0504
drm/i915: Record the current requests queue for execlists upon hang

Mika wanted to know what requests were pending at the time of a hang as
we now track which requests we have submitted to the hardware.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161013101815.26978-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c