Call the right function for the right chipset.
MFC after: 10 days
This commit is contained in:
parent
4f064c4d72
commit
a7840d9936
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user