* [Bug 110213] Used pwm value is lesser than the requested value
@ 2019-03-20 16:50 bugzilla-daemon
2019-03-21 2:36 ` bugzilla-daemon
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2019-03-20 16:50 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1512 bytes --]
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@lists.freedesktop.org
Reporter: jpalaciosdev@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.
[-- Attachment #1.2: Type: text/html, Size: 2926 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 110213] Used pwm value is lesser than the requested value
2019-03-20 16:50 [Bug 110213] Used pwm value is lesser than the requested value bugzilla-daemon
@ 2019-03-21 2:36 ` bugzilla-daemon
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2019-03-21 2:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 838 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=110213
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
The hwmon API specifies the range as 0-255, but the hw actually has a different
range. The conversion between ranges for read and writes accounts for the
difference. See smu7_fan_ctrl_get_fan_speed_percent() and
smu7_fan_ctrl_set_fan_speed_percent() smu7_thermal.c and
amdgpu_hwmon_get_pwm1() and amdgpu_hwmon_set_pwm1() amdgpu_pm.c.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2348 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-21 2:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 16:50 [Bug 110213] Used pwm value is lesser than the requested value bugzilla-daemon
2019-03-21 2:36 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).