Skip to content

Commit 5c7bb62

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add backlight=native quirk for Dell OptiPlex 7760 AIO
Dell All In One (AIO) models released after 2017 may use a backlight controller board connected to an UART. In DSDT this uart port will be defined as: Name (_HID, "DELL0501") Name (_CID, EisaId ("PNP0501") The Dell OptiPlex 7760 AIO has an ACPI device for one if its UARTs with the above _HID + _CID. Loading the dell-uart-backlight driver shows that there actually is a backlight controller board attached to the UART, which reports a firmware version of "G&MX01-V15". But the backlight controller board does not actually control the backlight brightness and the GPU's native backlight control method does work. Add a quirk to use the GPU's native backlight control method on this model. Fixes: 484bae9 ("platform/x86: Add new Dell UART backlight driver") Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2303936 Cc: All applicable <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent b5f0943 commit 5c7bb62

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,21 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
823823
},
824824
},
825825

826+
/*
827+
* Dell AIO (All in Ones) which advertise an UART attached backlight
828+
* controller board in their ACPI tables (and may even have one), but
829+
* which need native backlight control nevertheless.
830+
*/
831+
{
832+
/* https://bugzilla.redhat.com/show_bug.cgi?id=2303936 */
833+
.callback = video_detect_force_native,
834+
/* Dell OptiPlex 7760 AIO */
835+
.matches = {
836+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
837+
DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7760 AIO"),
838+
},
839+
},
840+
826841
/*
827842
* Models which have nvidia-ec-wmi support, but should not use it.
828843
* Note this indicates a likely firmware bug on these models and should

0 commit comments

Comments
 (0)