OSDN Git Service

drm/amd/powerplay: expose the function of smu read argument
authorLikun Gao <Likun.Gao@amd.com>
Thu, 20 Dec 2018 12:09:00 +0000 (20:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commit00bfaec829c3d2cc89d4f36236d85c6f139aedaf
tree36125c6d754c36f3b234464b0b9aafa0f598334f
parentc58952737623ed39848a7a997ae0d7c6580a42bc
drm/amd/powerplay: expose the function of smu read argument

Expose the function of smu_read_smc_arg to get argument value from SMU11.

Signed-off-by: Likun Gao <Likun.Gao@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
drivers/gpu/drm/amd/powerplay/smu_v11_0.c