summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-22 08:07:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-22 08:07:02 +0000
commitc724e8a9407683a8a2ee8eb00b972badf237bbe1 (patch)
treeaf28081e274dd5982ed956a988542f7d840ef966 /drivers/gpu/drm/i915/i915_drv.h
parent3143a2bf18d12545f77dafa5b9f7fee83b001223 (diff)
downloadblackbird-op-linux-c724e8a9407683a8a2ee8eb00b972badf237bbe1.tar.gz
blackbird-op-linux-c724e8a9407683a8a2ee8eb00b972badf237bbe1.zip
drm/i915: Capture pinned buffers on error
The pinned buffers are useful for diagnosing errors in setting up state for the chipset, which may not necessarily be 'active' at the time of the error, e.g. the cursor buffer object. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 73a41f7ab8c6..826c7237409b 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -184,8 +184,8 @@ struct drm_i915_error_state {
u32 dirty:1;
u32 purgeable:1;
u32 ring:4;
- } *active_bo;
- u32 active_bo_count;
+ } *active_bo, *pinned_bo;
+ u32 active_bo_count, pinned_bo_count;
struct intel_overlay_error_state *overlay;
};
OpenPOWER on IntegriCloud