Skip to contentSkip to conversation

ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3

PATCH New Hans de Goede 1 participant 1 message May 3, 2023 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3

Linux defaults to picking the non-working ACPI video backlight interface on the Apple iMac11,3 .

Add a DMI quirk to pick the working native radeon_bl0 interface instead.

---
 drivers/acpi/video_detect.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/acpi/video_detect.c +8 -0
index bcc25d457581..61586caebb01 100644
@@ -470,6 +470,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
 		},
 	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Apple iMac11,3 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "iMac11,3"),
+		},
+	},
 	{
 	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
 	 .callback = video_detect_force_native,
Signature · 1 line
2.39.2