CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2017/03/06 19:48:15

Modified files:
        sys/dev/pci/drm/i915: i915_reg.h intel_drv.h intel_panel.c 

Log message:
Setup backlight pwm alternate increment on backlight enable

On at least the MacBookAir7,1 (Broadwell), upon S3 resume, the
backlight value was treated as 0 or 100 despite reporting
intermediate values, so if the backlight value was anything other
than 100 at suspend time, the screen would stay off upon resume.

This is backported from Linux commits
32b421e79e6b546da1d469f1229403ac9142d695 and
e29aff05f239f8dd24e9ee7816fd96726e20105a which were noted in
freedesktop.org bug 67454.

ok jsg

Reply via email to