Call the right function for the right chipset.

MFC after:	10 days
This commit is contained in:
rnoland 2009-03-09 07:24:32 +00:00
parent 4f064c4d72
commit a7840d9936

View File

@ -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__