diff options
author | Dave Airlie <airlied@redhat.com> | 2009-03-08 22:12:28 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 00:24:17 -0400 |
commit | 53c379e9462b59d4e166429ff064aaf0e7743795 (patch) | |
tree | 630402bf75b8ab0dda4ea7eb31b3979a8cc86e7c /drivers | |
parent | 800b69951174f7de294da575d7e7921041a7e783 (diff) |
radeon: call the correct idle function, logic got inverted.
This calls the correct idle function for the R600 and previous chips.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c index 15cfe56c7aaa..f5b7e471cc6d 100644 --- a/drivers/gpu/drm/radeon/radeon_cp.c +++ b/drivers/gpu/drm/radeon/radeon_cp.c | |||
@@ -1702,7 +1702,7 @@ void radeon_do_release(struct drm_device * dev) | |||
1702 | if (dev_priv) { | 1702 | if (dev_priv) { |
1703 | if (dev_priv->cp_running) { | 1703 | if (dev_priv->cp_running) { |
1704 | /* Stop the cp */ | 1704 | /* Stop the cp */ |
1705 | if ((dev_priv->flags & RADEON_FAMILY_MASK) < CHIP_R600) { | 1705 | if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600) { |
1706 | while ((ret = r600_do_cp_idle(dev_priv)) != 0) { | 1706 | while ((ret = r600_do_cp_idle(dev_priv)) != 0) { |
1707 | DRM_DEBUG("radeon_do_cp_idle %d\n", ret); | 1707 | DRM_DEBUG("radeon_do_cp_idle %d\n", ret); |
1708 | #ifdef __linux__ | 1708 | #ifdef __linux__ |