[Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 25 10:05:36 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106228

--- Comment #6 from jian-hong at 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 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 manually
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180725/add717be/attachment.html>


More information about the dri-devel mailing list