]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: Allow selecting NVidia-WMI-EC or Apple GMUX backlight from the cmdline
authorHans de Goede <hdegoede@redhat.com>
Mon, 9 Jan 2023 19:18:11 +0000 (20:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:58:15 +0000 (11:58 +0100)
commit6e0aa271dda09d73a8a7af274651773bd209c05f
treec869c1fbc0d5b886ca4fe171b402987328821ced
parent1774e26d957791961b63beab4a236a8d0493efbb
ACPI: video: Allow selecting NVidia-WMI-EC or Apple GMUX backlight from the cmdline

commit 420a1116aef0e8e12c305508f45ce73e5ae30a09 upstream.

The patches adding NVidia-WMI-EC and Apple GMUX backlight detection
support to acpi_video_get_backlight_type(), forgot to update
acpi_video_parse_cmdline() to allow manually selecting these from
the commandline.

Add support for these to acpi_video_parse_cmdline().

Fixes: 9a57294ea4b6 ("ACPI: video: Add Nvidia WMI EC brightness control detection (v3)")
Fixes: 5e21c1bca3e8 ("ACPI: video: Add Apple GMUX brightness control detection")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/video_detect.c