drm/i915: Capture batchbuffer state upon GPU hang
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Oct 2013 09:28:22 +0000 (09:28 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Oct 2013 09:37:58 +0000 (10:37 +0100)
The bbstate contains useful bits of debugging information such as
whether the batch is being read from GTT or PPGTT, or whether it is
allowed to execute privileged instructions.

v2: Only record BB_STATE for gen4+

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found