]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/amdgpu: Disable sysfs pwm1 if not in manual fan control
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 28 Sep 2018 08:01:48 +0000 (16:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:05:05 +0000 (17:05 -0500)
commitb8a9c003679ea3619cef4092b10390224f09fbaa
tree1548dbfa08af8c78347806fff54eb912778cef32
parentc2870527f700e919fbb543baef36032be5d626e0
drm/amdgpu: Disable sysfs pwm1 if not in manual fan control

Following lm-sensors 3.0.0,
Only enable pwm1 sysfs when fan control mode(pwm1_enable)
in manual

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c