ACPI / video: Allow forcing native backlight on non win8 machines
authorAaron Lu <aaron.lu@intel.com>
Wed, 11 Mar 2015 21:09:57 +0000 (22:09 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 22 Mar 2015 21:01:31 +0000 (22:01 +0100)
commitff92cfe7cbc05c6c62f5b06c7d9090f4c853cd51
tree3ddeffe215c83867c5040bf7093442f0f922616e
parent9eccca0843205f87c00404b663188b88eb248051
ACPI / video: Allow forcing native backlight on non win8 machines

The native backlight behavior (so not registering both the acpi-video
and the vendor backlight driver) can be useful on some non win8 machines
too, so change the behavior of the video.use_native_backlight=1 or 0
kernel cmdline option to be: if user has set video.use_native_backlight=1
or 0, use that no matter if it is a win8 system or not. Also, we will
put some known systems into the DMI table to make them either use native
backlight interface or not, and the use_native_backlight_dmi is used to
reflect that.

Original-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c