projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48b9b4
)
drm/radeon/kms/pm: update display watermarks with power state changes
author
Alex Deucher
<alexdeucher@gmail.com>
Mon, 22 Mar 2010 17:34:22 +0000
(13:34 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 18 May 2010 08:21:00 +0000
(18:21 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_pm.c
b/drivers/gpu/drm/radeon/radeon_pm.c
index 10ef8924799d6a2c7f638efe5319b360d1485058..a137ee2f722cf640aa94616ea7e72faaabded297 100644
(file)
--- 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);
}