From: bugzilla-daemon@freedesktop.org Subject: [Bug 108668] drm/amd/display: set backlight level limit to 1: breaks userspace programs assuming 0 is the minimum brightness Date: Mon, 05 Nov 2018 20:41:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0212122270==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 43B266E0CB for ; Mon, 5 Nov 2018 20:41:35 +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 --===============0212122270== Content-Type: multipart/alternative; boundary="15414504950.38DCE6cfa.3761" Content-Transfer-Encoding: 7bit --15414504950.38DCE6cfa.3761 Date: Mon, 5 Nov 2018 20:41:35 +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=3D108668 --- Comment #1 from Samantha McVey --- In addition, even though there is a write error, when you read back the brightness value, it shows that the backlight is at level 0, while its brightness has actually been unchanged from before: echo 0 > /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/amdgpu_bl0/brig= htness bash: echo: write error: Invalid argument cat /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/amdgpu_bl0/brig= htness 0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15414504950.38DCE6cfa.3761 Date: Mon, 5 Nov 2018 20:41:35 +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

Commen= t # 1 on bug 10866= 8 from Samantha McVey
In addition, even though there is a write error, when you read=
 back the
brightness value, it shows that the backlight is at level 0, while its
brightness has actually been unchanged from before:

echo 0 >
/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/amdgpu_bl0/brig=
htness
bash: echo: write error: Invalid argument

cat
/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/amdgpu_bl0/brig=
htness
0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15414504950.38DCE6cfa.3761-- --===============0212122270== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0212122270==--