mbox series

[0/1,SRU,L,M] Remove all other acpi_video backlight

Message ID 20230619095547.111695-1-acelan.kao@canonical.com
Headers show
Series Remove all other acpi_video backlight | expand

Message

AceLan Kao June 19, 2023, 9:55 a.m. UTC
From: "Chia-Lin Kao (AceLan)" <acelan.kao@canonical.com>

BugLink: https://launchpad.net/bugs/2008882

[Impact]
There are acpi_video* sysfs backlight interface in the system which are
not working.
For Dell AIO platforms, we use dell_uart_backlight to control the display
brightness. The old way to fix this is to unregister acpi backlight
interfaces in the backlight driver, but it may lead to some issues and the
unregister function has been removed since v6.1-rc1
77ab9d4d44cd ("ACPI: video: Remove acpi_video_set_dmi_backlight_type()")

[Fix]
The new way to do this is to collect all the quirk and auto detection
method in video_detect.c I added an auto detection for the Dell AIO
platoform to the driver which should do the same thing as the old way.

[Test]
Verified on the Dell AIO platform and confirmed there is only one
dell_uart_backlight in the sysfs, and no acpi_video* interfaces.

[Where problems could occur]
There should be no regression potential, it uses different way to do the
same thing, should be pretty safe.

Chia-Lin Kao (AceLan) (1):
  UBUNTU: SAUCE: ACPI: video: Dell AIO UART backlight detection

 drivers/acpi/video_detect.c | 5 +++++
 1 file changed, 5 insertions(+)