From 88e84d24f6200d7b31e0964673a804fdc260dbf7 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <jslaby@suse.cz> Date: Apr 20 2023 11:00:45 +0000 Subject: ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG (bsc#1012628). --- diff --git a/patches.kernel.org/6.2.12-087-ACPI-video-Add-backlight-native-DMI-quirk-for-.patch b/patches.kernel.org/6.2.12-087-ACPI-video-Add-backlight-native-DMI-quirk-for-.patch new file mode 100644 index 0000000..1c053ae --- /dev/null +++ b/patches.kernel.org/6.2.12-087-ACPI-video-Add-backlight-native-DMI-quirk-for-.patch @@ -0,0 +1,47 @@ +From: Hans de Goede <hdegoede@redhat.com> +Date: Mon, 20 Mar 2023 16:59:46 +0100 +Subject: [PATCH] ACPI: video: Add backlight=native DMI quirk for Acer Aspire + 3830TG +References: bsc#1012628 +Patch-mainline: 6.2.12 +Git-commit: 5e7a3bf65db57461d0f47955248fcadf37321a74 + +[ 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 <hdegoede@redhat.com> +Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> +Signed-off-by: Sasha Levin <sashal@kernel.org> +Signed-off-by: Jiri Slaby <jslaby@suse.cz> +--- + drivers/acpi/video_detect.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c +index b3b0b069..e85729fc 100644 +--- a/drivers/acpi/video_detect.c ++++ b/drivers/acpi/video_detect.c +@@ -532,6 +532,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 */ +-- +2.35.3 + diff --git a/series.conf b/series.conf index 0183d79..c0e3116 100644 --- a/series.conf +++ b/series.conf @@ -2314,6 +2314,7 @@ patches.kernel.org/6.2.12-084-i2c-hisi-Avoid-redundant-interrupts.patch patches.kernel.org/6.2.12-085-efi-sysfb_efi-Add-quirk-for-Lenovo-Yoga-Book-X.patch patches.kernel.org/6.2.12-086-block-ublk_drv-mark-device-as-LIVE-before-addi.patch + patches.kernel.org/6.2.12-087-ACPI-video-Add-backlight-native-DMI-quirk-for-.patch ######################################################## # Build fixes that apply to the vanilla kernel too.