drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage
authorMatt Coffin <mcoffin13@gmail.com>
Fri, 8 Nov 2019 21:28:06 +0000 (14:28 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2019 22:38:14 +0000 (17:38 -0500)
commit21677d0880957a81910d83f042e788b684472d1e
tree8adeac273729463f1ccff4de226f7012eaee2179
parent9f87516764a9f2a6a6a9552844efb41d9748afec
drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage

[Why]
Before this patch, there was no way to use pp_od_clk_voltage on navi

[How]
Similar to the vega20 implementation, but using the common smc_v11_0
headers, implemented the pp_od_clk_voltage API for navi10's pptable
implementation

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/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c