aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2017-11-01 08:52:08 +0000
committerAlex Deucher <[email protected]>2017-11-02 03:31:13 +0000
commit710931c2be5a784c0651111f54bd083e3681c309 (patch)
tree8cac23c9eb0724550e44ac5cdf67ff5bae758b02 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/powerplay: fix memory leak of hardcoded pptable (diff)
downloadkernel-710931c2be5a784c0651111f54bd083e3681c309.tar.gz
kernel-710931c2be5a784c0651111f54bd083e3681c309.zip
drm/amd/powerplay: wrong control mode cause the fan spins faster unnecessarily
The fan control mode can either be FDO_PWM_MODE_STATIC or FDO_PWM_MODE_STATIC_RPM. Setting it as AMD_FAN_CTRL_AUTO will cause the fan spin faster wrongly. This can be reproduced by: '# cat /sys/class/hwmon/hwmon0/pwm1 38 '# cat /sys/class/hwmon/hwmon0/pwm1_enable 2 '# echo "2" > /sys/class/hwmon/hwmon0/pwm1_enable '# cat /sys/class/hwmon/hwmon0/pwm1 122 The fan speed get faster wrongly even with its original mode echo back. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions