OSDN Git Service

drm/amd/powerplay: add function to get sclk and mclk
authorLikun Gao <Likun.Gao@amd.com>
Mon, 28 Jan 2019 11:12:10 +0000 (19:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commitc5bee44baa3c60c3d283c3348ef1b5bf1e8e2427
tree6c9bf404d850f60fd2f0dbc61303d30095990dfe
parentbc0fcffd36baa1cbbf2a6e951e4f1acad3aa8c90
drm/amd/powerplay: add function to get sclk and mclk

Add function to get sclk and mclk for smu11.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c