]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd5c91b58a633ac3597f45f8286028a0d8b010a0
treec04a7c145327a557b7b8b8b9762b1ed657a4e17e
parentb3cd39bdc6ce9aaa340f3b0711e0252ce472194b
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