diff options
author | 2018-07-18 10:59:02 +0800 | |
---|---|---|
committer | 2018-08-27 11:10:35 -0500 | |
commit | be6a55a11af64fc07e478ba0f964bef76521293b (patch) | |
tree | 0edd38a51b035bfa04499108155a078a4a2cb188 | |
parent | drm/amd/powerplay: enable fclk ss by default (diff) | |
download | wireguard-linux-be6a55a11af64fc07e478ba0f964bef76521293b.tar.xz wireguard-linux-be6a55a11af64fc07e478ba0f964bef76521293b.zip |
drm/amd/powerplay: remove setting soc floor voltage before sending pptable
SOC voltage is not able to switch and forced to low 0.8V when running HEVC.
Thus the test failed.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Rex Zhu <rezhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c index ed928c5d878c..ad6ce148fb3f 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c @@ -707,14 +707,7 @@ static int vega20_init_smc_table(struct pp_hwmgr *hwmgr) data->vbios_boot_state.vclock = boot_up_values.ulVClk; data->vbios_boot_state.dclock = boot_up_values.ulDClk; data->vbios_boot_state.uc_cooling_id = boot_up_values.ucCoolingID; - if (0 != boot_up_values.usVddc) { - smum_send_msg_to_smc_with_parameter(hwmgr, - PPSMC_MSG_SetFloorSocVoltage, - (boot_up_values.usVddc * 4)); - data->vbios_boot_state.bsoc_vddc_lock = true; - } else { - data->vbios_boot_state.bsoc_vddc_lock = false; - } + smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_SetMinDeepSleepDcefclk, (uint32_t)(data->vbios_boot_state.dcef_clock / 100)); diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h index 130052a330b3..72e4f2a55641 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h @@ -203,7 +203,6 @@ struct vega20_dpmlevel_enable_mask { }; struct vega20_vbios_boot_state { - bool bsoc_vddc_lock; uint8_t uc_cooling_id; uint16_t vddc; uint16_t vddci; |