summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-01 14:15:55 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-07 12:04:51 +0000
commitb6f7833b9712c0c01f94cc3a518dc62b07bd610b (patch)
tree464449de9da482cdf2457afe409ca4e17757d41d
parent8f9a3f9b63b8cd3f03be9dc53533f90bd4120e5f (diff)
downloadblackbird-op-linux-b6f7833b9712c0c01f94cc3a518dc62b07bd610b.tar.gz
blackbird-op-linux-b6f7833b9712c0c01f94cc3a518dc62b07bd610b.zip
drm/i915: Include 'i915_error_state' hint for when the GPU catches fire
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 1a33aea820bd..95304472f0d0 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -784,7 +784,8 @@ static void i915_capture_error_state(struct drm_device *dev)
return;
}
- DRM_DEBUG_DRIVER("generating error event\n");
+ DRM_INFO("capturing error event; look for more information in /debug/dri/%d/i915_error_state\n",
+ dev->primary->index);
error->seqno = dev_priv->ring[RCS].get_seqno(&dev_priv->ring[RCS]);
error->eir = I915_READ(EIR);
OpenPOWER on IntegriCloud