diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-22 13:34:22 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-18 18:21:00 +1000 |
commit | c00f53be5ec70038d7a34f64872df51dabfc5a5b (patch) | |
tree | 9c8694a8a43611b0e5818437b3d8f756e5fffc97 /drivers/gpu/drm/radeon | |
parent | a48b9b4edb8bb87deb13b9f088a595cf71457b69 (diff) | |
download | linux-stable-c00f53be5ec70038d7a34f64872df51dabfc5a5b.tar.gz linux-stable-c00f53be5ec70038d7a34f64872df51dabfc5a5b.tar.bz2 linux-stable-c00f53be5ec70038d7a34f64872df51dabfc5a5b.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_pm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index 10ef8924799d..a137ee2f722c 100644 --- a/drivers/gpu/drm/radeon/radeon_pm.c +++ b/drivers/gpu/drm/radeon/radeon_pm.c @@ -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); } |