ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Nov 2022 14:44:56 +0000 (15:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:58 +0000 (13:32 +0100)
commit218c556cded573e1a9eaa442faa48578f3c93b14
tree35c067e41b1897431c9b2c48ae725f5cf74b7366
parentc6b9b32002987f63caa1b8798084d941af87ec16
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@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/video_detect.c