diff options
| author | Orlando Chamberlain <[email protected]> | 2024-07-05 13:56:24 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-07-09 15:53:35 +0000 |
| commit | d010a0282e045f02895f88299e5442506585b46c (patch) | |
| tree | 53c23f55fc285aef71c6bab78ac1795e99be4f76 /drivers/acpi/video_detect.c | |
| parent | ACPI: video: Use strscpy() instead of strcpy() (diff) | |
| download | kernel-d010a0282e045f02895f88299e5442506585b46c.tar.gz kernel-d010a0282e045f02895f88299e5442506585b46c.zip | |
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]>
Diffstat (limited to 'drivers/acpi/video_detect.c')
| -rw-r--r-- | drivers/acpi/video_detect.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 2cc3821b2b16..c11cbe5b6eaa 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -540,6 +540,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { }, }, { + .callback = video_detect_force_native, + /* Apple MacBook Air 9,1 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir9,1"), + }, + }, + { /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */ .callback = video_detect_force_native, /* Apple MacBook Pro 12,1 */ @@ -550,6 +558,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { }, { .callback = video_detect_force_native, + /* Apple MacBook Pro 16,2 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro16,2"), + }, + }, + { + .callback = video_detect_force_native, /* Dell Inspiron N4010 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |
