OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66648b8
)
drm/radeon/ci: apply disp voltage changes before clk changes
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 18 Nov 2014 19:32:14 +0000
(14:32 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 20 Nov 2014 18:00:12 +0000
(13:00 -0500)
Apply voltage changes for displays before changing clocks.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/ci_dpm.c
b/drivers/gpu/drm/radeon/ci_dpm.c
index
c9963b5
..
e781628
100644
(file)
--- a/
drivers/gpu/drm/radeon/ci_dpm.c
+++ b/
drivers/gpu/drm/radeon/ci_dpm.c
@@
-3752,6
+3752,8
@@
static int ci_upload_dpm_level_enable_mask(struct radeon_device *rdev)
struct ci_power_info *pi = ci_get_pi(rdev);
PPSMC_Result result;
+ ci_apply_disp_minimum_voltage_request(rdev);
+
if (!pi->sclk_dpm_key_disabled) {
if (pi->dpm_level_enable_mask.sclk_dpm_enable_mask) {
result = ci_send_msg_to_smc_with_parameter(rdev,
@@
-3782,8
+3784,6
@@
static int ci_upload_dpm_level_enable_mask(struct radeon_device *rdev)
}
}
- ci_apply_disp_minimum_voltage_request(rdev);
-
return 0;
}