drm/amd/powerplay: add interface to get current shallow sleep clocks
authorHuang Rui <ray.huang@amd.com>
Wed, 16 Jan 2019 06:30:11 +0000 (14:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commit8021816c85be41c6486d2ab668ee4df8c30edd05
tree64ac6bcf4dfc889bf672063243601ef9fc34d1e8
parent64461900001fc32aa6e07f4712167aac815ea23d
drm/amd/powerplay: add interface to get current shallow sleep clocks

This patch adds interface to get current shallow sleep clocks for display and in
smu v11 didn't have this implementation.

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/powerplay/inc/amdgpu_smu.h