[Bug 83816] backlight maxed out when switching from X to a tty

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 29 06:49:49 PST 2015


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

--- Comment #13 from Jani Nikula <jani.nikula at intel.com> ---
(In reply to Chris Wilson from comment #12)
> (In reply to Jani Nikula from comment #10)
> > (In reply to Chris Wilson from comment #7)
> > > The bug is that intel_panel_enable_backlight() always sets the max value
> > > ignoring the current user value.
> > 
> > That's not really true. It sets the max value if the userspace set the level
> > to minimum before the backlight was disabled. Why does the userspace insist
> > on setting backlight to min before disable?
> 
> To put it another way: Why does the kernel insist on providing policy that
> overrides userspace?

Hysterical raisins, dating back to i915 mode setting support in 2008. I assume
pretty much impossible to remove now, since too many use cases depend on being
able to see something when the connector is enabled, regardless of the
backlight setting.

For the record, I wince every time I look at that if (level == min) level =
max; bit in the code.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150129/007bc05b/attachment.html>


More information about the intel-gfx-bugs mailing list