drm/amd/powerplay: add get_clock_by_type interface for display
authorHuang Rui <ray.huang@amd.com>
Fri, 11 Jan 2019 09:12:04 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commitb3ea88fef321de3374648911e1aea65bdd53da3f
tree978302a51911175b3aa74939b63c5ce50ca4b2e5
parent94ed6d0cfdb867be9bf05f03d682980bce5d0036
drm/amd/powerplay: add get_clock_by_type interface for display

This patch adds get_clock_by_type interface for display, in smu v11 didn't have
the implementation.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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