[Bug 110213] Used pwm value is lesser than the requested value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 20 16:50:24 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110213

            Bug ID: 110213
           Summary: Used pwm value is lesser than the requested value
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: jpalaciosdev at gmail.com

Created attachment 143743
  --> https://bugs.freedesktop.org/attachment.cgi?id=143743&action=edit
dmesg

On manual fan control through pwm interface, the used value on pwm1 is lesser
that the requested value (except for maximum).
For example:
echo 1 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1_enable

echo 10 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
5

echo 100 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
96

echo 254 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
249

The maximum value works as expected:
echo 255 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
cat /sys/class/drm/card0/device/hwmon/hwmon1/pwm1
255

Other info:
Hardware: MSI RX480 Gaming (Polaris)
Kernel: linux 5.0.2

Please, let me know if more info is needed.
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190320/2c450262/attachment.html>


More information about the dri-devel mailing list