blob: 31fff6675763991f7ce75e70ecff3ddf6340d101 [file] [log] [blame]
From ecb0044dc539859dbfea59587f9807258fabd665 Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris@chris-wilson.co.uk>
Date: Mon, 10 Jun 2013 11:20:22 +0100
Subject: drm/i915: Eliminate the addr/seqno from the hangcheck warning
This is of no value to the developer reading the report, let alone the
bamboozled user.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
(cherry picked from commit a43adf0747ecde0d211f29adcbebf067f92e9cbb)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
drivers/gpu/drm/i915/i915_irq.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 486016b641e8..b6e0b15552e9 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -2552,12 +2552,10 @@ void i915_hangcheck_elapsed(unsigned long data)
for_each_ring(ring, dev_priv, i) {
if (ring->hangcheck.score > FIRE) {
- rings_hung++;
- DRM_ERROR("%s: %s on %s 0x%x\n", ring->name,
+ DRM_ERROR("%s on %s ring\n",
stuck[i] ? "stuck" : "no progress",
- stuck[i] ? "addr" : "seqno",
- stuck[i] ? ring->hangcheck.acthd & HEAD_ADDR :
- ring->hangcheck.seqno);
+ ring->name);
+ rings_hung++;
}
}
--
1.8.5.rc3