]> Pileus Git - ~andy/linux/commit
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)
commit94e39e282ecd299b095f37cd0f521d83bd799b14
tree1c5588c1eb250b4d6eafd0da40365a744f0a2f7e
parentf4adcd247766e5b914f861ed143ff328f869bf80
drm/i915: Capture batchbuffer state upon GPU hang

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>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_reg.h