Commit b94b95e7 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: set power control in ci dpm enable

Necessary for poper operation.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 542b379b
......@@ -4833,6 +4833,12 @@ int ci_dpm_enable(struct radeon_device *rdev)
return ret;
}
ret = ci_power_control_set_level(rdev);
if (ret) {
DRM_ERROR("ci_power_control_set_level failed\n");
return ret;
}
ci_enable_auto_throttle_source(rdev, RADEON_DPM_AUTO_THROTTLE_SRC_THERMAL, true);
ci_update_current_ps(rdev, boot_ps);
......@@ -4963,11 +4969,6 @@ int ci_dpm_set_power_state(struct radeon_device *rdev)
return 0;
}
int ci_dpm_power_control_set_level(struct radeon_device *rdev)
{
return ci_power_control_set_level(rdev);
}
void ci_dpm_reset_asic(struct radeon_device *rdev)
{
ci_set_boot_state(rdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment