[Bug 93643] backlight: min value is always 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 11 01:05:08 PST 2016


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

--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
As I said, the kernel scales the ABI to the hw min/max:

static inline u32 scale_user_to_hw(struct intel_connector *connector,
                                   u32 user_level, u32 user_max)
{
        struct intel_panel *panel = &connector->panel;

        return scale(user_level, 0, user_max,
                     panel->backlight.min, panel->backlight.max);
}

and uses the separate bl_power to actually turn the backlight on/off.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160111/997de0d8/attachment.html>


More information about the intel-gfx-bugs mailing list