drm/i915: Record fence registers on error.
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 24 Oct 2010 09:28:47 +0000 (10:28 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 20:19:13 +0000 (20:19 +0000)
commit748ebc6017a943ec065e653e975a5e8dace77ac6
tree4e21eba7ccc84151496bb61d5132d0af0007d611
parent7bdc9ab00b1b0fdbb490f41c5c7c2fbc66fed9ee
drm/i915: Record fence registers on error.

Having seen the effects of erroneous fencing on the batchbuffer, a
useful sanity check is to record the fence registers at the time of an
error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c