From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with
catalyst
Date: Sat, 06 Dec 2014 19:16:45 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1866186003=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2CEA86E214
for ; Sat, 6 Dec 2014 11:16:46 -0800 (PST)
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
--===============1866186003==
Content-Type: multipart/alternative; boundary="1417893406.BD085.23711"; charset="UTF-8"
--1417893406.BD085.23711
Date: Sat, 6 Dec 2014 19:16:46 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=73338
--- Comment #66 from Martin Peres ---
(In reply to Alex Deucher from comment #64)
>
> As far as percent vs. rpm, I'm not sure which would be preferred. I think
> the hwmon subsystem generally prefers rpm. Maybe add callbacks for both
> percent and rpm and then check rdev->pm.fan_pulses_per_revolution. If it's
> 0, expose it as a percent. if not, expose as rpm. Thoughts? Might be
> worth asking on the hwmon mailing lists.
No need to guess, everything is written here ;)
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
pwm1 should expose the duty cycle and nothing else. If you also have a
tachometer, expose it with fan1_input :)
If you want to set the fan speed with RPM instead of the duty cycle, you'll
need to use fan1_target. You may wonder what should happen if you set both pwm1
and fan1_target. Well, I would think that the latest you set should take
precedence.
Please try to stick to the document I provided, for the sake of having a common
behaviour. I hope I helped a little on this ;)
--
You are receiving this mail because:
You are the assignee for the bug.
--1417893406.BD085.23711
Date: Sat, 6 Dec 2014 19:16:46 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 66
on bug 73338
from Martin Peres
(In reply to Alex Deucher from comment #64)
>
> As far as percent vs. rpm, I'm not sure which would be preferred. I think
> the hwmon subsystem generally prefers rpm. Maybe add callbacks for both
> percent and rpm and then check rdev->pm.fan_pulses_per_revolution. If it's
> 0, expose it as a percent. if not, expose as rpm. Thoughts? Might be
> worth asking on the hwmon mailing lists.
No need to guess, everything is written here ;)
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
pwm1 should expose the duty cycle and nothing else. If you also have a
tachometer, expose it with fan1_input :)
If you want to set the fan speed with RPM instead of the duty cycle, you'll
need to use fan1_target. You may wonder what should happen if you set both pwm1
and fan1_target. Well, I would think that the latest you set should take
precedence.
Please try to stick to the document I provided, for the sake of having a common
behaviour. I hope I helped a little on this ;)
You are receiving this mail because:
- You are the assignee for the bug.
--1417893406.BD085.23711--
--===============1866186003==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1866186003==--