mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
drm/radeon: set power control in ci dpm enable
Necessary for poper operation. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
542b379b55
commit
b94b95e7e3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user