From mboxrd@z Thu Jan 1 00:00:00 1970 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:27:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0968883320==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 12E406E2B4 for ; Mon, 5 Nov 2018 20:27:58 +0000 (UTC) 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 --===============0968883320== Content-Type: multipart/alternative; boundary="15414496770.4024aDC.634" Content-Transfer-Encoding: 7bit --15414496770.4024aDC.634 Date: Mon, 5 Nov 2018 20:27:57 +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 Bug ID: 108668 Summary: drm/amd/display: set backlight level limit to 1: breaks userspace programs assuming 0 is the minimum brightness Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: samantham@posteo.net This commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= id=3D0cafc82fae41531b0162150f9a97f2c74f97118f breaks KDE and any other software that assumes setting 0 will induce the minimum brightness. Maybe it would make more sense to set the brightness le= vel to "1" if userspace requests brightness level "0" so programs still function correctly. If desired the call could still return false to indicate it was out of boun= ds, but still lower brightness. --=20 You are receiving this mail because: You are the assignee for the bug.= --15414496770.4024aDC.634 Date: Mon, 5 Nov 2018 20:27:57 +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
Bug ID 108668
Summary drm/amd/display: set backlight level limit to 1: breaks users= pace programs assuming 0 is the minimum brightness
Product DRI
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter samantham@posteo.net

This commit
https://git.kerne=
l.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3D0cafc82fae41=
531b0162150f9a97f2c74f97118f
breaks KDE and any other software that assumes setting 0 will induce the
minimum brightness. Maybe it would make more sense to set the brightness le=
vel
to "1" if userspace requests brightness level "0" so pr=
ograms still function
correctly.

If desired the call could still return false to indicate it was out of boun=
ds,
but still lower brightness.


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