drm/amd/pp: Fix bug voltage can't be OD separately on VI
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 17 Apr 2018 09:26:26 +0000 (17:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:29 +0000 (13:43 -0500)
commit8d80fada066bec682f1b7e9015b8412e3460c1b3
tree251c6f046ca231966ae0f72341bd0c90ee699691
parenta0d454a67737162b0e4b1cc91612d7b25d5681b0
drm/amd/pp: Fix bug voltage can't be OD separately on VI

Make sure to update the MCLK and SCLK flags when setting the VDDC
flags due to dependencies.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c