提交 f281d0a3 编写于 作者: A Alex Deucher

drm/radeon/ci: apply disp voltage changes before clk changes

Apply voltage changes for displays before changing clocks.
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 66648b81
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册