Skip to content

Commit 8cf04bb

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
Linux defaults to picking the non-working ACPI video backlight interface on the Apple iMac12,1 and iMac12,2. Add a DMI quirk to pick the working native radeon_bl0 interface instead. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1838 Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2753 Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 89c290e commit 8cf04bb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,24 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
495495
DMI_MATCH(DMI_PRODUCT_NAME, "iMac11,3"),
496496
},
497497
},
498+
{
499+
/* https://gitlab.freedesktop.org/drm/amd/-/issues/1838 */
500+
.callback = video_detect_force_native,
501+
/* Apple iMac12,1 */
502+
.matches = {
503+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
504+
DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,1"),
505+
},
506+
},
507+
{
508+
/* https://gitlab.freedesktop.org/drm/amd/-/issues/2753 */
509+
.callback = video_detect_force_native,
510+
/* Apple iMac12,2 */
511+
.matches = {
512+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
513+
DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,2"),
514+
},
515+
},
498516
{
499517
/* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
500518
.callback = video_detect_force_native,

0 commit comments

Comments
 (0)