drm/amd/powerplay: implement interface to retrieve clock freq for renoir
authorXiaomeng Hou <Xiaomeng.Hou@amd.com>
Wed, 4 Dec 2019 07:17:38 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Dec 2019 20:22:07 +0000 (15:22 -0500)
commit0b97bd6cde1d4bec07e6f5b72cba32fae2739c3b
tree44dd239b14d1c3fa5baf5fd35d5628751a2c123f
parent8fa6a7b0b3fdc6ec5454c7976f2ea1c18cd265bc
drm/amd/powerplay: implement interface to retrieve clock freq for renoir

implement smu12 get_clk_freq interface to get clock frequency like
MCLK/SCLK.

Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@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/smu_v12_0.h
drivers/gpu/drm/amd/powerplay/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v12_0.c