diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-13 11:18:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-13 13:29:13 +0100 |
commit | 35ca039e0a45fad3b15834059b4ad6697dbc7484 (patch) | |
tree | 8f5d5c6ec8775128f04d3c403fe650fa58922770 /drivers/gpu/drm/i915/i915_drv.h | |
parent | db49296ba1e9140f507ab55424e7376d564a0504 (diff) | |
download | lwn-35ca039e0a45fad3b15834059b4ad6697dbc7484.tar.gz lwn-35ca039e0a45fad3b15834059b4ad6697dbc7484.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index bf397b643cc0..6360e807c6ba 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -832,10 +832,11 @@ struct drm_i915_error_state { struct drm_i915_error_request { long jiffies; pid_t pid; + u32 context; u32 seqno; u32 head; u32 tail; - } *requests; + } *requests, execlist[2]; struct drm_i915_error_waiter { char comm[TASK_COMM_LEN]; |