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 ffa44bb..ab852b2 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;
 }