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>
Thu, 19 Apr 2018 15:20:10 +0000 (10:20 -0500)
commit84f8508f717268c333de8e472f351d6a7a487e51
tree19125b0475c4bbf16dfbb0a318f506f3479911be
parentd78fd7255881645fc645e23145d469385227170d
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