Patch "ACPI: video: Add backlight=native DMI quirk for Dell G15 5515" has been added to the 6.0-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: Add backlight=native DMI quirk for Dell G15 5515

to the 6.0-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-add-backlight-native-dmi-quirk-for-dell-g.patch
and it can be found in the queue-6.0 subdirectory.

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



commit 2dae5eb0691b92c168dd47474530fc27faf3df2e
Author: Hans de Goede <hdegoede@xxxxxxxxxx>
Date:   Mon Oct 31 21:20:59 2022 +0100

    ACPI: video: Add backlight=native DMI quirk for Dell G15 5515
    
    [ Upstream commit f46acc1efd4b5846de9fa05f966e504f328f34a6 ]
    
    The Dell G15 5515 has the WMI interface (and WMI call returns) expected
    by the nvidia-wmi-ec-backlight interface. But the backlight class device
    registered by the nvidia-wmi-ec-backlight driver does not actually work.
    
    The amdgpu_bl0 native GPU backlight class device does actually work,
    add a backlight=native DMI quirk for this.
    
    Reported-by: Iris <pawel.js@xxxxxxxxxxxxxx>
    Reviewed-by: Daniel Dadap <ddadap@xxxxxxxxxx>
    Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 68a566f69684..aae9261c424a 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -578,6 +578,20 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_BOARD_NAME, "GMxRGxx"),
 		},
 	},
+	/*
+	 * Models which have nvidia-ec-wmi support, but should not use it.
+	 * Note this indicates a likely firmware bug on these models and should
+	 * be revisited if/when Linux gets support for dynamic mux mode.
+	 */
+	{
+	 .callback = video_detect_force_native,
+	 /* Dell G15 5515 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"),
+		},
+	},
+
 	/*
 	 * Desktops which falsely report a backlight and which our heuristics
 	 * for this do not catch.



[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