Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d19e9233 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher
Browse files

drm/amd/powerplay: need to reapply the dpm level settings



As these settings got reset during above phm_apply_clock_adjust_rules.

Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fe1331a2
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -277,8 +277,7 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip_display_set
	if (!skip_display_settings)
	if (!skip_display_settings)
		phm_notify_smc_display_config_after_ps_adjustment(hwmgr);
		phm_notify_smc_display_config_after_ps_adjustment(hwmgr);


	if ((hwmgr->request_dpm_level != hwmgr->dpm_level) &&
	if (!phm_force_dpm_levels(hwmgr, hwmgr->request_dpm_level))
	    !phm_force_dpm_levels(hwmgr, hwmgr->request_dpm_level))
		hwmgr->dpm_level = hwmgr->request_dpm_level;
		hwmgr->dpm_level = hwmgr->request_dpm_level;


	if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) {
	if (hwmgr->dpm_level != AMD_DPM_FORCED_LEVEL_MANUAL) {