drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive
authorMatt Coffin <mcoffin13@gmail.com>
Fri, 8 Nov 2019 21:28:07 +0000 (14:28 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2019 22:38:14 +0000 (17:38 -0500)
commit6610713211b139985ffdb10472f7bc7a18f5e546
treedc341a21d1eb4144298946428d2577fa283051ba
parent21677d0880957a81910d83f042e788b684472d1e
drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive

[Why]
Before this patch, there was no way to set the gfxclk voltage curve in
the overdrive settings for navi10 through pp_od_clk_voltage

[How]
Add the required implementation to navi10's ppt dpm table editing
implementation, similar to the vega20 implementation and interface.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Matt Coffin <mcoffin13@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/navi10_ppt.h