drm/amdgpu/powerplay: implement fan control interface in amd_powerplay_funcs
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 16 Oct 2015 03:48:21 +0000 (11:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:26 +0000 (16:42 -0500)
commitcac9a1991922c12a9a24ae20d250221742aed692
tree555bff0e30f3bec197fce9be1875823c89d3c569
parent1e4854e96c356288a80a0dcd35aa8240df1156c3
drm/amdgpu/powerplay: implement fan control interface in amd_powerplay_funcs

This adds the interface needed to expose powerplay fan control to sysfs
via hwmon.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h