Skip to content

Commit d010a02

Browse files
Redecoratingrafaeljw
authored andcommitted
ACPI: video: force native for some T2 macbooks
The intel backlight is needed for these, previously users had nothing in /sys/class/backlight. Signed-off-by: Orlando Chamberlain <[email protected]> Signed-off-by: Aditya Garg <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent cfc38d4 commit d010a02

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
539539
DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,2"),
540540
},
541541
},
542+
{
543+
.callback = video_detect_force_native,
544+
/* Apple MacBook Air 9,1 */
545+
.matches = {
546+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
547+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir9,1"),
548+
},
549+
},
542550
{
543551
/* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
544552
.callback = video_detect_force_native,
@@ -548,6 +556,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
548556
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro12,1"),
549557
},
550558
},
559+
{
560+
.callback = video_detect_force_native,
561+
/* Apple MacBook Pro 16,2 */
562+
.matches = {
563+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
564+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro16,2"),
565+
},
566+
},
551567
{
552568
.callback = video_detect_force_native,
553569
/* Dell Inspiron N4010 */

0 commit comments

Comments
 (0)