[PATCH 0/2][SRU Xenial] Backlight malfunction after S3

AceLan Kao acelan.kao at canonical.com
Wed Sep 21 06:37:32 UTC 2016


BugLink: http://bugs.launchpad.net/bugs/1625932

Impact:
On some Intel machines, after S3, the backlight becomes malfunction.
Some machines can't change backlight anymore, and some can't adjust the
brightness level more than 50%.

Fix:
After checking the intel regs, we found some regs value changed after S3.
So we added a checking to see if it uses alternate pwm increment, and
write back the correct value while enabling the backlight.

Tested:
The patch is tested on new Dell machines.
BTW, it also fixes the MacBook's backlight issue after S3, too.

Jani Nikula (1):
  UBUNTU: SAUCE: i915_bpo: drm/i915/backlight: setup and cache pwm
    alternate increment value

Shawn Lee (1):
  UBUNTU: SAUCE: i915_bpo: drm/i915/backlight: setup backlight pwm
    alternate increment on backlight enable

 ubuntu/i915/intel_drv.h   |  1 +
 ubuntu/i915/intel_panel.c | 32 ++++++++++++++++++++++++++++----
 2 files changed, 29 insertions(+), 4 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list