drm/amd/powerplay: add interface to get current clocks for display
authorHuang Rui <ray.huang@amd.com>
Wed, 16 Jan 2019 06:43:29 +0000 (14:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commit5e2d38814e9fb39c529030523fe9c6b175c0c19f
tree1d044e34d06292887dce6fc6857af934595f9a68
parent8021816c85be41c6486d2ab668ee4df8c30edd05
drm/amd/powerplay: add interface to get current clocks for display

This patch fills the amd_pp_clock_info data for display, it will get the current
info in that structure.

Signed-off-by: Huang Rui <ray.huang@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/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h