From: Hans de Goede Date: Mon, 20 Mar 2023 15:59:46 +0000 (+0100) Subject: ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=25d36216b1605a902c3c3898963e8cc0ea6d255c;p=users%2Fjedix%2Flinux-maple.git ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG [ Upstream commit 5e7a3bf65db57461d0f47955248fcadf37321a74 ] The Acer Aspire 3830TG 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 42b5af5490a1..f0f41959faea 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -530,6 +530,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"), }, }, + { + .callback = video_detect_force_native, + /* Acer Aspire 3830TG */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 3830TG"), + }, + }, { .callback = video_detect_force_native, /* Acer Aspire 4810T */