drm/i915: Record error batch buffers using iomem
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Aug 2010 10:01:26 +0000 (11:01 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:33 +0000 (11:24 -0700)
commite56660ddfb48ccc6777f31cb235db218e0cf5b83
treec04a7c145327a557b7b8b8b9762b1ed657a4e17e
parent7d1c4804ae98cdee572d7d10d8a5deaa2e686285
drm/i915: Record error batch buffers using iomem

Directly read the GTT mapping for the contents of the batch buffers
rather than relying on possibly stale CPU caches. Also for completeness
scan the flushing/inactive lists for the current buffers - we are
collecting error state after all.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_irq.c