Patch "ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35" has been added to the 6.1-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 force_vendor quirk for Sony Vaio PCG-FRV35

to the 6.1-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-force_vendor-quirk-for-sony-vaio-pcg-.patch
and it can be found in the queue-6.1 subdirectory.

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



commit e91bce58a6853579abd62d7c1af41897646a261d
Author: Hans de Goede <hdegoede@xxxxxxxxxx>
Date:   Mon Nov 14 15:44:56 2022 +0100

    ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
    
    [ Upstream commit 23735543eb228c604e59f99f2f5d13aa507e5db2 ]
    
    The Sony Vaio PCG-FRV35 advertises both native and vendor backlight
    control interfaces. With the upcoming changes to prefer native over
    vendor acpi_video_get_backlight_type() will start returning native on
    these laptops.
    
    But the native radeon_bl0 interface does not work, where as the sony
    vendor interface does work. Add a quirk to force use of the vendor
    interface.
    
    Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
    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 0ab98f2e484c..8e8b435b4c8c 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -237,6 +237,19 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		},
 	},
 
+	/*
+	 * Models which should use the vendor backlight interface,
+	 * because of broken native backlight control.
+	 */
+	{
+	 .callback = video_detect_force_vendor,
+	 /* Sony Vaio PCG-FRV35 */
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "PCG-FRV35"),
+		},
+	},
+
 	/*
 	 * Toshiba models with Transflective display, these need to use
 	 * the toshiba_acpi vendor driver for proper Transflective handling.



[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