summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-07 17:20:47 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-10 08:56:07 +0200
commit94f8cf109e313e7758dff6cbc0357f6b07f83375 (patch)
tree1925dfa70ce75bd02019a652eb05a26eeebbfc8b /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Suppress empty lines from debugfs/i915_gem_objects (diff)
downloadlinux-94f8cf109e313e7758dff6cbc0357f6b07f83375.tar.xz
linux-94f8cf109e313e7758dff6cbc0357f6b07f83375.zip
drm/i915: Record ring->start address in error state
This is mostly useful for execlists where the rings switch between contexts (and so checking that the ring's start register matches the context is important). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 6e0a0ae34a3f..f4daa3d3c126 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -455,6 +455,7 @@ struct drm_i915_error_state {
u32 semaphore_seqno[I915_NUM_RINGS - 1];
/* Register state */
+ u32 start;
u32 tail;
u32 head;
u32 ctl;