summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-01 11:35:28 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-01 12:08:05 +0000
commite5c652603680404683fd1f262b511340545179a2 (patch)
tree4785854a2b54eb94c91a4017833971ee049ae356 /drivers/gpu/drm/i915/i915_irq.c
parent100519e2f1c20286158746f92f27c3aa14f5a893 (diff)
drm/i915/debugfs: Report ring in error state
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 90c071d37748..3ec631f1129d 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -728,6 +728,7 @@ static void i915_capture_error_state(struct drm_device *dev)
error->active_bo[i].tiling = obj_priv->tiling_mode;
error->active_bo[i].dirty = obj_priv->dirty;
error->active_bo[i].purgeable = obj_priv->madv != I915_MADV_WILLNEED;
+ error->active_bo[i].ring = obj_priv->ring->id;
if (++i == count)
break;