drm/amd/pp: Add querying current gfx voltage for CI/VI
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 3 Jan 2018 09:21:28 +0000 (17:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:49 +0000 (14:17 -0500)
commit84877256f65bc7daaf1b206ec1c5b933f89d761a
treebe74de66a0455910f23ca887fa0ec729d1b1f7cd
parent680731ade574e770e16f4488eb4217e8b8b13ffe
drm/amd/pp: Add querying current gfx voltage for CI/VI

Store the voltage regulator configuration,
so we can properly query the voltage.

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
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c