Make sure the settings are applied only when voltage
controlled by gpio.
Change-Id: I31edfb731ebfeb35e87d130633d29714f84d76cb
Signed-off-by: Evan Quan <[email protected]>
Acked-by: Alex Deucher <[email protected]>
---
drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
b/drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
index a950387b492f..34cf3bedfc11 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
+++ b/drivers/gpu/drm/amd/pm/powerplay/smumgr/polaris10_smumgr.c
@@ -714,9 +714,9 @@ static int polaris10_populate_smc_vddci_table(struct
pp_hwmgr *hwmgr,
table->Smio[level] |=
data->vddci_voltage_table.entries[level].smio_low;
}
- }
- table->SmioMask1 = data->vddci_voltage_table.mask_low;
+ table->SmioMask1 = data->vddci_voltage_table.mask_low;
+ }
return 0;
}
--
2.28.0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx