drm/i915: Record DERRMR, FORCEWAKE and RING_CTL in error-state
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Jan 2013 12:05:55 +0000 (12:05 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Jan 2013 12:34:57 +0000 (13:34 +0100)
commit0f3b6849dd55943d915f4b461d7db5e8308d4083
tree2bf578f7f72fb6177f6664de6bb3997aa4f9b353
parent93927ca52a55c23e0a6a305e7e9082e8411ac9fa
drm/i915: Record DERRMR, FORCEWAKE and RING_CTL in error-state

These are useful for investigating hangs involving WAIT_FOR_EVENT.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Apply a droplet of Future-Proof in the if-ladder.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h