drm/amd/powerplay: add function get_clock_by_type_with_latency for navi10
authorKevin Wang <kevin1.wang@amd.com>
Fri, 19 Apr 2019 06:05:58 +0000 (14:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:29 +0000 (18:59 -0500)
commita43913ea50a545c437b6e264b46fe3a0485f54f0
tree53bf1ad01031c8eca985cb53fc358cd7fc682590
parentfa51bfc2794b096a6d009712529c15a95667d383
drm/amd/powerplay: add function get_clock_by_type_with_latency for navi10

add callback function get_clock_by_type_with_latency for navi10 asic

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/display/amdgpu_dm/amdgpu_dm_pp_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c