drm/radeon: Lower the severity of the radeon lockup messages.
authorDave Jones <davej@redhat.com>
Fri, 21 Oct 2011 16:51:02 +0000 (12:51 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Oct 2011 18:00:15 +0000 (19:00 +0100)
abrt files a lot of bug reports when users get GPU lockups, but there's not really
enough context to do anything useful with them.  Given the lack of GPU context being
dumped, this patch removes the stack trace, so that abrt ignores the messages.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fence.c

index 7fd4e3e..a488b50 100644 (file)
@@ -263,7 +263,7 @@ retry:
                 */
                if (seq == rdev->fence_drv.last_seq && radeon_gpu_is_lockup(rdev)) {
                        /* good news we believe it's a lockup */
-                       WARN(1, "GPU lockup (waiting for 0x%08X last fence id 0x%08X)\n",
+                       printk(KERN_WARNING "GPU lockup (waiting for 0x%08X last fence id 0x%08X)\n",
                             fence->seq, seq);
                        /* FIXME: what should we do ? marking everyone
                         * as signaled for now