drm/amd/powerplay: set soc floor voltage on boot on vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 2 May 2017 08:51:49 +0000 (16:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 May 2017 22:11:44 +0000 (18:11 -0400)
commit05ee3215110303b3ffacfb44fdae59a151799e89
treed532aa73263f3336379cf15fc125e0977d5e6543
parentef181f268e0e8d868f353b764799d96d6a8a2d86
drm/amd/powerplay: set soc floor voltage on boot on vega10.

Send the VBIOS bootup VDDC as a SOC floor voltage to SMU
before populating the PPTABLE. After DPM is enabled, This
floor voltage will be removed. This will prevent SMC from
going to Vmin upon receiving PPTable causing a violation.

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/ppatomfwctrl.c
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h