Skip to content

Commit 7dc918d

Browse files
Esther Shimanovichrafaeljw
authored andcommitted
ACPI: video: force native for Apple MacbookPro9,2
It used to be that the MacbookPro9,2 used its native intel backlight device until the following commit was introduced: commit b1d36e7 ("drm/i915: Don't register backlight when another backlight should be used (v2)") This commit forced this model to use its firmware acpi_video backlight device instead. That worked fine until an additional commit was added: commit 9271400 ("drm/i915/backlight: Do not bump min brightness to max on enable") That commit uncovered a bug in the MacbookPro 9,2's acpi_video backlight firmware; the backlight does not come back up after resume. Add DMI quirk to select the working native intel interface instead so that the backlight successfully comes back up after resume. Fixes: 9271400 ("drm/i915/backlight: Do not bump min brightness to max on enable") Signed-off-by: Esther Shimanovich <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5be63fc commit 7dc918d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
549549
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir9,1"),
550550
},
551551
},
552+
{
553+
.callback = video_detect_force_native,
554+
/* Apple MacBook Pro 9,2 */
555+
.matches = {
556+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
557+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro9,2"),
558+
},
559+
},
552560
{
553561
/* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
554562
.callback = video_detect_force_native,

0 commit comments

Comments
 (0)