]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: Improve Chromebook checks
authorHans de Goede <hdegoede@redhat.com>
Mon, 31 Oct 2022 10:17:45 +0000 (11:17 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Nov 2022 08:32:34 +0000 (09:32 +0100)
commitc8aed5892c92fb1902f8b005779f2dcaaf5ff140
treec855558dfceb18382cce2bb9a2c47795aec5a44c
parent29205c9599fb7937da8293e1317785ca3bbab679
ACPI: video: Improve Chromebook checks

2 improvements for the Chromebook handling in
acpi_video_get_backlight_type():

1. Also check for the "GOOG000C" ACPI HID used on some models
2. Move the Chromebook check to above the ACPI-video check normally
   Chromebooks don't have ACPI video backlight support, but when
   flashed with upstream coreboot builds they may have ACPI video
   backlight support, but native should still be used/preferred then.

Suggested-by: Mr. Chromebox <mrchromebox@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/acpi/video_detect.c