drm/amd/powerplay: add function get current clock freq interface for navi10
authorKevin Wang <kevin1.wang@amd.com>
Wed, 17 Apr 2019 06:58:28 +0000 (14:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:29 +0000 (18:59 -0500)
commit98e1a543c7b1af60efee0f019773ee097bd50bba
tree62f2862f4b8dbdf6d11828470b6a8f4d43c0494e
parentbbd7a6535002289d3ddaf30b8377b492983712df
drm/amd/powerplay: add function get current clock freq interface for navi10

add function of get_current_clk_freq_by_table for navi10.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c