Commit 303c805c authored by Ilija Hadzic's avatar Ilija Hadzic Committed by Dave Airlie

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: default avatarIlija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b20f9bef
...@@ -2944,7 +2944,7 @@ int evergreen_irq_process(struct radeon_device *rdev) ...@@ -2944,7 +2944,7 @@ int evergreen_irq_process(struct radeon_device *rdev)
radeon_fence_process(rdev); radeon_fence_process(rdev);
break; break;
case 233: /* GUI IDLE */ case 233: /* GUI IDLE */
DRM_DEBUG("IH: CP EOP\n"); DRM_DEBUG("IH: GUI idle\n");
rdev->pm.gui_idle = true; rdev->pm.gui_idle = true;
wake_up(&rdev->irq.idle_queue); wake_up(&rdev->irq.idle_queue);
break; break;
......
...@@ -3444,7 +3444,7 @@ int r600_irq_process(struct radeon_device *rdev) ...@@ -3444,7 +3444,7 @@ int r600_irq_process(struct radeon_device *rdev)
radeon_fence_process(rdev); radeon_fence_process(rdev);
break; break;
case 233: /* GUI IDLE */ case 233: /* GUI IDLE */
DRM_DEBUG("IH: CP EOP\n"); DRM_DEBUG("IH: GUI idle\n");
rdev->pm.gui_idle = true; rdev->pm.gui_idle = true;
wake_up(&rdev->irq.idle_queue); wake_up(&rdev->irq.idle_queue);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment