]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: update OD to take voltage value instead of offset
authorEvan Quan <evan.quan@amd.com>
Thu, 13 Sep 2018 08:14:33 +0000 (16:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Sep 2018 17:37:55 +0000 (12:37 -0500)
commit809ffa16e53d60622be2144c5c4511ec498347b3
tree35186e49e0ef6f21a65895b196d9ca370716c083
parent79bdc561b2a2e48ea1c898532ab81cb48e957a4a
drm/amd/powerplay: update OD to take voltage value instead of offset

With the latest SMC fw, we are able to get the voltage value for
specific frequency point. So, we update the OD relates to take
absolute voltage instead of offset.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
drivers/gpu/drm/amd/powerplay/inc/vega20_ppsmc.h