diff mbox

drm/radeon: fix GUI idle IH debug statements

Message ID 1307472888-4807-1-git-send-email-ihadzic@research.bell-labs.com (mailing list archive)
State Accepted
Headers show

Commit Message

Ilija Hadzic June 7, 2011, 6:54 p.m. UTC
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>
---
 drivers/gpu/drm/radeon/evergreen.c |    2 +-
 drivers/gpu/drm/radeon/r600.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Deucher June 7, 2011, 7:30 p.m. UTC | #1
On Tue, Jun 7, 2011 at 2:54 PM, Ilija Hadzic
<ihadzic@research.bell-labs.com> wrote:
> 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>

> ---
>  drivers/gpu/drm/radeon/evergreen.c |    2 +-
>  drivers/gpu/drm/radeon/r600.c      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
> index 34cd5a8..e30a68b 100644
> --- a/drivers/gpu/drm/radeon/evergreen.c
> +++ b/drivers/gpu/drm/radeon/evergreen.c
> @@ -2865,7 +2865,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;
> diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
> index 669a977..9c1318d 100644
> --- a/drivers/gpu/drm/radeon/r600.c
> +++ b/drivers/gpu/drm/radeon/r600.c
> @@ -3456,7 +3456,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;
> --
> 1.7.5.3
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 34cd5a8..e30a68b 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -2865,7 +2865,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;
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 669a977..9c1318d 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -3456,7 +3456,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;