drm/radeon/kms/pm: update display watermarks with power state changes

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Alex Deucher 2010-03-22 13:34:22 -04:00 committed by Dave Airlie
parent a48b9b4edb
commit c00f53be5e
1 changed files with 5 additions and 0 deletions

View File

@ -293,6 +293,11 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev)
}
}
/* update display watermarks based on new power state */
radeon_update_bandwidth_info(rdev);
if (rdev->pm.active_crtc_count)
radeon_bandwidth_update(rdev);
mutex_unlock(&rdev->cp.mutex);
}