]> 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)
commit59dc2a7e7c6a0d4a2a2c4dafea874af484fc0592
treec855558dfceb18382cce2bb9a2c47795aec5a44c
parente9cf4d9b9a6fdb1df6401a59f5ac5d24006bfeae
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