]> git.baikalelectronics.ru Git - 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)
commit82f7150ac717dcab3edd58d581be25f622cdc811
tree1548dbfa08af8c78347806fff54eb912778cef32
parent6b07b87a79de06d8ac89dc0f2ff61f86f235b75c
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