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)
commit0b9f7d93ca6109048a4eb06332b666b6e29df4fe
treedafe5099689b7a18e12ef1cf98ecafd89ab52235
parentcd3de83f147601356395b57a8673e9c5ff1e59d1
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