]> www.infradead.org Git - users/dwmw2/linux.git/commit
ACPI: video: Add backlight=native quirk for Dell OptiPlex 7760 AIO
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 Aug 2024 19:01:59 +0000 (21:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 19 Aug 2024 13:58:52 +0000 (15:58 +0200)
commit5c7bb62cb8f53de71d8ab3d619be22740da0b837
treef987c5c3df61d5d12e9e545aca2193614d090026
parentb5f0943001339c4d324a1af10470ce0bdd79f966
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: 484bae9e4d6a ("platform/x86: Add new Dell UART backlight driver")
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2303936
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20240814190159.15650-4-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c