]> 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)
commit6468fe1d58dd2db8a18cd572012a554b6b9eae2f
treedafe5099689b7a18e12ef1cf98ecafd89ab52235
parentc74f42708e281e44423fe4210356c12f00e0e17e
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