drm/amdgpu/powerplay: implement fan control interface in amd_powerplay_funcs
BugLink: http://bugs.launchpad.net/bugs/1546572
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>
(cherry picked from commit
cac9a1991922c12a9a24ae20d250221742aed692)
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>