drm/radeon: fix GUI idle IH debug statements
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Tue, 7 Jun 2011 18:54:48 +0000 (14:54 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Jun 2011 04:36:48 +0000 (14:36 +1000)
debug statement for GUI idle interrupt is wrong and incorrectly
reports CP EOP interrupt; trivial issue, but confusing for
someone trying to distinguish interrupt sources while debugging
... fixed

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c

index 98ea597bc76d88566644a00eca83113c6d8a787e..86157b172c8844dc39e7ba8e4804723c4b98779a 100644 (file)
@@ -2944,7 +2944,7 @@ restart_ih:
                        radeon_fence_process(rdev);
                        break;
                case 233: /* GUI IDLE */
-                       DRM_DEBUG("IH: CP EOP\n");
+                       DRM_DEBUG("IH: GUI idle\n");
                        rdev->pm.gui_idle = true;
                        wake_up(&rdev->irq.idle_queue);
                        break;
index d74d4d71437f1aa75c111bdb4d4e8def3ea13cb9..7dd45ca64e29464b717a837f04a1be049e5a9292 100644 (file)
@@ -3444,7 +3444,7 @@ restart_ih:
                        radeon_fence_process(rdev);
                        break;
                case 233: /* GUI IDLE */
-                       DRM_DEBUG("IH: CP EOP\n");
+                       DRM_DEBUG("IH: GUI idle\n");
                        rdev->pm.gui_idle = true;
                        wake_up(&rdev->irq.idle_queue);
                        break;