commit | 21a2c58a9c122151080ecbdddc115257cd7c30d8 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Aug 15 10:49:11 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Aug 15 11:01:19 2016 +0100 |
tree | 547b9ca620a9c5bf362d1efb2a2a4581f6619aae | |
parent | 57bc699d43390aab7a21f3f2cee1f13cd31fd0fd [diff] [blame] |
drm/i915: Record the RING_MODE register for post-mortem debugging Just another useful register to inspect following a GPU hang. v2: Remove partial decoding of RING_MODE to userspace, be consistent and use GEN > 2 guards around RING_MODE everywhere. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-32-git-send-email-chris@chris-wilson.co.uk
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index bb7d813..35caa9b 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -757,6 +757,7 @@ u32 tail; u32 head; u32 ctl; + u32 mode; u32 hws; u32 ipeir; u32 ipehr;