From: bugzilla-daemon@freedesktop.org Subject: [Bug 110213] Used pwm value is lesser than the requested value Date: Thu, 21 Mar 2019 02:36:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1837627183==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 82BF089D61 for ; Thu, 21 Mar 2019 02:36:06 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1837627183== Content-Type: multipart/alternative; boundary="15531357662.0AEB.10463" Content-Transfer-Encoding: 7bit --15531357662.0AEB.10463 Date: Thu, 21 Mar 2019 02:36:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110213 Alex Deucher changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTABUG --- Comment #1 from Alex Deucher --- The hwmon API specifies the range as 0-255, but the hw actually has a diffe= rent 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15531357662.0AEB.10463 Date: Thu, 21 Mar 2019 02:36:06 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated = Alex Deucher changed bug 11021= 3
What Removed Added
Status NEW RESOLVED
Resolution --- NOTABUG

Commen= t # 1 on bug 11021= 3 from Alex Deucher
The hwmon API specifies the range as 0-255, but the hw actuall=
y 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.
= --15531357662.0AEB.10463-- --===============1837627183== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1837627183==--