]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Record the RING_MODE register for post-mortem debugging
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:49:11 +0000 (10:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:01:19 +0000 (11:01 +0100)
commit21a2c58a9c122151080ecbdddc115257cd7c30d8
tree547b9ca620a9c5bf362d1efb2a2a4581f6619aae
parent57bc699d43390aab7a21f3f2cee1f13cd31fd0fd
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
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_ringbuffer.c