]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / i915: ignore firmware requests for backlight change
authorAaron Lu <aaron.lu@intel.com>
Mon, 7 Jul 2014 07:43:51 +0000 (15:43 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jul 2014 21:38:05 +0000 (23:38 +0200)
commit2d691d305ca092d6329df8592b0fc608752a2456
treedafe5099689b7a18e12ef1cf98ecafd89ab52235
parent764bc268679c6c5e049dcce83c6d7daa814af968
ACPI / i915: ignore firmware requests for backlight change

Some Thinkpad laptops' firmware will initiate a backlight level change
request through operation region on the events of AC plug/unplug, but
since we are not using firmware's interface to do the backlight setting
on these affected laptops, we do not want the firmware to use some
arbitrary value from its ASL variable to set the backlight level on
AC plug/unplug either.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=76491
Link: https://bugzilla.kernel.org/show_bug.cgi?id=77091
Reported-and-tested-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Reported-and-tested-by: Anton Gubarkov <anton.gubarkov@gmail.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c
drivers/gpu/drm/i915/intel_opregion.c
include/acpi/video.h