aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2018-03-19 23:39:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 15:36:57 -0400
commit7f3f106e4431429c27d7cb5f1925d6709b51982e (patch)
tree3323c881bf523540ff82c1bd087cbd86e5386029
parentf0c2b16ba84a0b8b960a6d442496ce2d2e6bfa99 (diff)
drm/amd/powerplay: Remove the SOC floor voltage setting
Remove W/A carried over from VG10 to set VDDSOC Floor Voltage prior to enabling DPM since the VBIOS covers the floor voltage setting now Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
index 66633b6375f3..7121870ff48c 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
@@ -601,14 +601,6 @@ static int vega12_init_smc_table(struct pp_hwmgr *hwmgr)
601 data->vbios_boot_state.soc_clock = boot_up_values.ulSocClk; 601 data->vbios_boot_state.soc_clock = boot_up_values.ulSocClk;
602 data->vbios_boot_state.dcef_clock = boot_up_values.ulDCEFClk; 602 data->vbios_boot_state.dcef_clock = boot_up_values.ulDCEFClk;
603 data->vbios_boot_state.uc_cooling_id = boot_up_values.ucCoolingID; 603 data->vbios_boot_state.uc_cooling_id = boot_up_values.ucCoolingID;
604 if (0 != boot_up_values.usVddc) {
605 smum_send_msg_to_smc_with_parameter(hwmgr,
606 PPSMC_MSG_SetFloorSocVoltage,
607 (boot_up_values.usVddc * 4));
608 data->vbios_boot_state.bsoc_vddc_lock = true;
609 } else {
610 data->vbios_boot_state.bsoc_vddc_lock = false;
611 }
612 smum_send_msg_to_smc_with_parameter(hwmgr, 604 smum_send_msg_to_smc_with_parameter(hwmgr,
613 PPSMC_MSG_SetMinDeepSleepDcefclk, 605 PPSMC_MSG_SetMinDeepSleepDcefclk,
614 (uint32_t)(data->vbios_boot_state.dcef_clock / 100)); 606 (uint32_t)(data->vbios_boot_state.dcef_clock / 100));