drm/amd/powerplay: support sysfs to get socclk, fclk, dcefclk
authorLikun Gao <Likun.Gao@amd.com>
Tue, 19 Feb 2019 10:18:46 +0000 (18:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit0967610142275c3aa1b73d923505cb8e73916af5
tree38a811835cf04ae7f9fa5aae9305873173b8220c
parentf067499b4862c053a8971461d0d937e173690ddf
drm/amd/powerplay: support sysfs to get socclk, fclk, dcefclk

Add sys interface to get socclk, fclk and dcefclk for smu.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Gui Chengming <Jack.Gui@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c