OSDN Git Service

drm/amd/powerplay: add interface to get clock by type with voltage for display
authorHuang Rui <ray.huang@amd.com>
Mon, 14 Jan 2019 06:08:18 +0000 (14:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commit1e33d4d439491a3d179e0f574cfb9d1ab6a92dca
treeb97f9067f861f76690fbbcf3376b7eae79f8a685
parente5e4e22391c2a7e792964aeb3278eecfd2a7638b
drm/amd/powerplay: add interface to get clock by type with voltage for display

This patch adds inteface to get clock by type with voltage, display will use it
to get current clocks with voltage.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-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