drm/i915: Record ring->start address in error state
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Apr 2015 15:20:47 +0000 (16:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:56:07 +0000 (08:56 +0200)
commit94f8cf109e313e7758dff6cbc0357f6b07f83375
tree1925dfa70ce75bd02019a652eb05a26eeebbfc8b
parentb0da1b79aa4136c955710e755857a196a8226a1b
drm/i915: Record ring->start address in error state

This is mostly useful for execlists where the rings switch between
contexts (and so checking that the ring's start register matches the
context is important).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c