drm/i915: Eliminate the addr/seqno from the hangcheck warning
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Jun 2013 10:20:22 +0000 (11:20 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Jun 2013 09:50:07 +0000 (11:50 +0200)
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>
drivers/gpu/drm/i915/i915_irq.c

index 563abe7..b26243f 100644 (file)
@@ -2515,12 +2515,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++;
                }
        }