Patch "ACPI: video: force native for Apple MacbookPro9,2" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ACPI: video: force native for Apple MacbookPro9,2

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     acpi-video-force-native-for-apple-macbookpro9-2.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8d9de3b0a7607c9bef99883dcf231c86378a4f67
Author: Esther Shimanovich <eshimanovich@xxxxxxxxxxxx>
Date:   Tue Aug 6 20:08:47 2024 +0000

    ACPI: video: force native for Apple MacbookPro9,2
    
    [ Upstream commit 7dc918daaf2994963690171584ba423f28724df5 ]
    
    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@xxxxxxxxxxxx>
    Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>
    Link: https://patch.msgid.link/20240806-acpi-video-quirk-v1-1-369d8f7abc59@xxxxxxxxxxxx
    [ rjw: Subject and changelog edits ]
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 674b9db7a1ef8..75a5f559402f8 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -549,6 +549,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir9,1"),
 		},
 	},
+	{
+	 .callback = video_detect_force_native,
+	 /* Apple MacBook Pro 9,2 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro9,2"),
+		},
+	},
 	{
 	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
 	 .callback = video_detect_force_native,




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux