aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIlija Hadzic <ihadzic@research.bell-labs.com>2011-06-07 14:54:48 -0400
committerDave Airlie <airlied@redhat.com>2011-06-09 00:36:48 -0400
commit303c805cb4dc1f5bc1d21f1c3757da0eae1e4f84 (patch)
tree519508d829222beb560436d85dae59eb86575415 /drivers
parentb20f9bef8d9ff54be266062eae365ebf4b12ca64 (diff)
drm/radeon: fix GUI idle IH debug statements
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c2
-rw-r--r--drivers/gpu/drm/radeon/r600.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 98ea597bc76d..86157b172c88 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -2944,7 +2944,7 @@ restart_ih:
2944 radeon_fence_process(rdev); 2944 radeon_fence_process(rdev);
2945 break; 2945 break;
2946 case 233: /* GUI IDLE */ 2946 case 233: /* GUI IDLE */
2947 DRM_DEBUG("IH: CP EOP\n"); 2947 DRM_DEBUG("IH: GUI idle\n");
2948 rdev->pm.gui_idle = true; 2948 rdev->pm.gui_idle = true;
2949 wake_up(&rdev->irq.idle_queue); 2949 wake_up(&rdev->irq.idle_queue);
2950 break; 2950 break;
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index d74d4d71437f..7dd45ca64e29 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -3444,7 +3444,7 @@ restart_ih:
3444 radeon_fence_process(rdev); 3444 radeon_fence_process(rdev);
3445 break; 3445 break;
3446 case 233: /* GUI IDLE */ 3446 case 233: /* GUI IDLE */
3447 DRM_DEBUG("IH: CP EOP\n"); 3447 DRM_DEBUG("IH: GUI idle\n");
3448 rdev->pm.gui_idle = true; 3448 rdev->pm.gui_idle = true;
3449 wake_up(&rdev->irq.idle_queue); 3449 wake_up(&rdev->irq.idle_queue);
3450 break; 3450 break;