]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: video: force native for Apple MacbookPro9,2
authorEsther Shimanovich <eshimanovich@chromium.org>
Tue, 6 Aug 2024 20:08:47 +0000 (20:08 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2024 17:23:14 +0000 (19:23 +0200)
commit7dc918daaf2994963690171584ba423f28724df5
tree10059c1ac10212b20b60689c2779aba192b31ce4
parent5be63fc19fcaa4c236b307420483578a56986a37
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 b1d36e73cc1c ("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 92714006eb4d ("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: 92714006eb4d ("drm/i915/backlight: Do not bump min brightness to max on enable")
Signed-off-by: Esther Shimanovich <eshimanovich@chromium.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20240806-acpi-video-quirk-v1-1-369d8f7abc59@chromium.org
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c