diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-09 07:24:32 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-09 07:24:32 +0000 |
commit | a7840d99365f41692d9666e663bece3b5b0e622b (patch) | |
tree | c431c591f1f482bfd620f5703aadea3e4ed51d6a /sys | |
parent | 4f064c4d72ced7589cde5710ed2283842c0380ea (diff) | |
download | FreeBSD-src-a7840d99365f41692d9666e663bece3b5b0e622b.zip FreeBSD-src-a7840d99365f41692d9666e663bece3b5b0e622b.tar.gz |
Call the right function for the right chipset.
MFC after: 10 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/drm/radeon_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/radeon_cp.c b/sys/dev/drm/radeon_cp.c index 32fb32c..972751c 100644 --- a/sys/dev/drm/radeon_cp.c +++ b/sys/dev/drm/radeon_cp.c @@ -1705,7 +1705,7 @@ void radeon_do_release(struct drm_device * dev) if (dev_priv) { if (dev_priv->cp_running) { /* Stop the cp */ - if ((dev_priv->flags & RADEON_FAMILY_MASK) < CHIP_R600) { + if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600) { while ((ret = r600_do_cp_idle(dev_priv)) != 0) { DRM_DEBUG("radeon_do_cp_idle %d\n", ret); #ifdef __linux__ |