[PATCH 0/1][SRU][OEM-6.1] Remove all other acpi_video backlight interface on

AceLan Kao acelan.kao at canonical.com
Thu Mar 2 09:28:59 UTC 2023


From: "Chia-Lin Kao (AceLan)" <acelan.kao at 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 audo detection for the Dell AIO platoform to the driver which
should do the same thing as the old way.

The fix is based on v6.1.9 upstream stable release, so will submit SRU
for Lunar/Unstable after Lunar/Unstable has based on v6.1.9 upstream
stable release.

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

[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(+)

-- 
2.34.1




More information about the kernel-team mailing list