diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-21 13:12:35 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-22 08:08:19 +0000 |
commit | c4a1d9e4dc5d5313cfec2cc0c9d630efe8a6f287 (patch) | |
tree | 6b8c839478c8cf8a8fb1a6b02f32a03878247a94 /drivers/gpu/drm/i915/i915_irq.c | |
parent | c724e8a9407683a8a2ee8eb00b972badf237bbe1 (diff) | |
download | blackbird-obmc-linux-c4a1d9e4dc5d5313cfec2cc0c9d630efe8a6f287.tar.gz blackbird-obmc-linux-c4a1d9e4dc5d5313cfec2cc0c9d630efe8a6f287.zip |
drm/i915: Capture interesting display registers on error
When trying to diagnose mysterious errors on resume, capture the
display register contents as well.
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.c | 1 |
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 bbcd5da89ba5..0b6052abedd1 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -766,6 +766,7 @@ static void i915_capture_error_state(struct drm_device *dev) do_gettimeofday(&error->time); error->overlay = intel_overlay_capture_error_state(dev); + error->display = intel_display_capture_error_state(dev); spin_lock_irqsave(&dev_priv->error_lock, flags); if (dev_priv->first_error == NULL) { |