From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set Date: Wed, 25 Jul 2018 10:05:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1033247614==" 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 70C7A6E36D for ; Wed, 25 Jul 2018 10:05:36 +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 --===============1033247614== Content-Type: multipart/alternative; boundary="15325131361.bfEb.14984" Content-Transfer-Encoding: 7bit --15325131361.bfEb.14984 Date: Wed, 25 Jul 2018 10:05:36 +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=3D106228 --- Comment #6 from jian-hong@endlessm.com --- Apply "[PATCH] drm/amdgpu: Read back max backlight value at boot" to Linux 4.18.0-rc6 kernel. I disable all of the brightness setting applications, including masking systemd-backlight service and than reboot. "cat /sys/class/backlight/amdgpu_bl0/brightness" before set brightness manu= ally again and it reads back 255 (the maximum brightness). If I unmask systemd-backlight service and than reboot for test, "cat /sys/class/backlight/amdgpu_bl0/brightness" before set brightness manually again and it reads back the brightness which is saved before last reboot. --=20 You are receiving this mail because: You are the assignee for the bug.= --15325131361.bfEb.14984 Date: Wed, 25 Jul 2018 10:05:36 +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 # 6 on bug 10622= 8 from jian-hong&= #64;endlessm.com
Apply "[PATCH] drm/amdgpu: Read back max backlight value =
at boot" to Linux
4.18.0-rc6 kernel.

I disable all of the brightness setting applications, including masking
systemd-backlight service and than reboot.
"cat /sys/class/backlight/amdgpu_bl0/brightness" before set brigh=
tness manually
again and it reads back 255 (the maximum brightness).

If I unmask systemd-backlight service and than reboot for test, "cat
/sys/class/backlight/amdgpu_bl0/brightness" before set brightness manu=
ally
again and it reads back the brightness which is saved before last reboot.
        


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