drm/amd/powerplay: fix issue uvd dpm can't enabled on Polaris11.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 27 Jun 2016 09:30:24 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jun 2016 16:10:02 +0000 (12:10 -0400)
commit0636e0d666e0238fa22348172c20a49f42a94395
tree66372faecf62efcb4dd9f423abd9784b3039f199
parent3a8bd717ee3e0508fc0dd517b97e950989e15f8c
drm/amd/powerplay: fix issue uvd dpm can't enabled on Polaris11.

1. Populate correct value of VDDCI voltage for SMC SAMU, VCE,
   and UVD levels depending on whether VDDCi control is SVI2 or GPIO.
2. Populate SMC ACPI minimum voltage using VBIOS boot SCLK and MCLK

When static voltage is configured as VDDCI, driver still tries to program
a voltage for MM minVoltage using VDDC-VDDCI delta requirement.
minVoltage should be set as boot up voltage.

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