drm/amd/pm: correct smc voltage controller setup
Correct Polaris10 smc voltage controller setup. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
326d0ff7aa
commit
baa495f764
@ -237,7 +237,8 @@ static int smu7_get_current_pcie_lane_number(struct pp_hwmgr *hwmgr)
|
||||
*/
|
||||
static int smu7_enable_smc_voltage_controller(struct pp_hwmgr *hwmgr)
|
||||
{
|
||||
if (hwmgr->chip_id == CHIP_VEGAM) {
|
||||
if (hwmgr->chip_id >= CHIP_POLARIS10 &&
|
||||
hwmgr->chip_id <= CHIP_VEGAM) {
|
||||
PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device,
|
||||
CGS_IND_REG__SMC, PWR_SVI2_PLANE1_LOAD, PSI1, 0);
|
||||
PHM_WRITE_VFPF_INDIRECT_FIELD(hwmgr->device,
|
||||
|
Loading…
Reference in New Issue
Block a user