[Bug 108668] drm/amd/display: set backlight level limit to 1: breaks userspace programs assuming 0 is the minimum brightness

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 5 20:27:57 UTC 2018


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

            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 at lists.freedesktop.org
          Reporter: samantham at posteo.net

This commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0cafc82fae41531b0162150f9a97f2c74f97118f
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 level
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 bounds,
but still lower brightness.

-- 
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/20181105/6e9e11be/attachment.html>


More information about the dri-devel mailing list