From: Hans de Goede Date: Fri, 13 Jan 2023 11:41:26 +0000 (+0100) Subject: ACPI: video: Add backlight=native DMI quirk for Acer Aspire 4810T X-Git-Tag: v6.1.15~549 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99db989945cd87fd91cd9a5ef9ee33ade70e4ad9;p=platform%2Fkernel%2Flinux-starfive.git ACPI: video: Add backlight=native DMI quirk for Acer Aspire 4810T [ Upstream commit 8ba5fc4c154aeb3b4620f05543cce426c62ed2de ] The Acer Aspire 4810T predates Windows 8, so it defaults to using acpi_video# for backlight control, but this is non functional on this model. Add a DMI quirk to use the native backlight interface which does work properly. Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 5c32b31..b48f85c 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -495,6 +495,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { }, { .callback = video_detect_force_native, + /* Acer Aspire 4810T */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 4810T"), + }, + }, + { + .callback = video_detect_force_native, /* Acer Aspire 5738z */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Acer"),