Skip to content

Commit 2373554

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 84d56f3 commit 2373554

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,19 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
239239
},
240240
},
241241

242+
/*
243+
* Models which should use the vendor backlight interface,
244+
* because of broken native backlight control.
245+
*/
246+
{
247+
.callback = video_detect_force_vendor,
248+
/* Sony Vaio PCG-FRV35 */
249+
.matches = {
250+
DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
251+
DMI_MATCH(DMI_PRODUCT_NAME, "PCG-FRV35"),
252+
},
253+
},
254+
242255
/*
243256
* Toshiba models with Transflective display, these need to use
244257
* the toshiba_acpi vendor driver for proper Transflective handling.

0 commit comments

Comments
 (0)