]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/amd/pp: reset dpm level when adjust power state
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 13 Dec 2017 09:39:07 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:23:02 +0000 (10:23 -0500)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c

index ffa44bbb218e4e59004a97e6b148d66f48ae1af4..ab852b2cdf54814b7dc627d00c797d9924c44157 100644 (file)
@@ -244,7 +244,7 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip,
        }
 
        phm_notify_smc_display_config_after_ps_adjustment(hwmgr);
-
+       phm_force_dpm_levels(hwmgr, hwmgr->dpm_level);
        return 0;
 }