drm/amd/pp: OverDrive gfx domain voltage on Tonga
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 13 Aug 2018 10:37:39 +0000 (18:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:41 +0000 (11:10 -0500)
commite51ee68ff2eef2a0117a26ec28d64f86081df4e8
treef4cce57bc328b9fa099196f4126eb038859be681
parenta54594752ad48de75dc0158f0c9b124177235efc
drm/amd/pp: OverDrive gfx domain voltage on Tonga

Also ajust the gfx domain voltage on Tonga when user overdriver
the voltage.

For Tonga, Driver do not update user's setting to voltage table
in smu, we only pick up a minimum value from voltage table that
not less than the user's setting.

v2: fix a typo

Acked-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