From: Hans de Goede Date: Mon, 14 Nov 2022 14:44:57 +0000 (+0100) Subject: ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E X-Git-Tag: v6.2-rc1~188^2~2^5~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5a6ff923d4a1d639da36228d00e95ff67d417f0;p=thirdparty%2Fkernel%2Flinux.git ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E The Sony Vaio VPCY11S1E advertises both native and ACPI video backlight control interfaces, but only the native interface works and the default heuristics end up picking ACPI video on this model. Add a video_detect_force_native DMI quirk for this. Reported-by: Stefan Joosten Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 43f667523ab05..0e217bf79f17f 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -621,6 +621,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "VPCEH3U1E"), }, }, + { + .callback = video_detect_force_native, + /* Sony Vaio VPCY11S1E */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VPCY11S1E"), + }, + }, /* * These Toshibas have a broken acpi-video interface for brightness