diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-01-24 10:47:36 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-01-27 18:20:43 +0100 |
commit | cb256cc383bddd5e5f135279ebb4112dfb991f37 (patch) | |
tree | 012ccb3a581043b02d81883f7d5e094ad881478b /drivers | |
parent | drm/amdgpu: handle vfct with multiple vbios images (diff) | |
download | linux-cb256cc383bddd5e5f135279ebb4112dfb991f37.tar.xz linux-cb256cc383bddd5e5f135279ebb4112dfb991f37.zip |
drm/amd/powerplay: fix regresstion issue can't set manual dpm mode.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c index 6c661bb7e2f3..0a6c833720df 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c @@ -2625,6 +2625,9 @@ static int smu7_force_dpm_level(struct pp_hwmgr *hwmgr, smu7_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask); smu7_force_clock_level(hwmgr, PP_PCIE, 1<<pcie_mask); break; + case AMD_DPM_FORCED_LEVEL_MANUAL: + hwmgr->dpm_level = level; + break; case AMD_DPM_FORCED_LEVEL_PROFILE_EXIT: default: break; |