[PATCH 0/1][SRU][L][M] Remove all other acpi_video backlight
AceLan Kao
acelan.kao at canonical.com
Mon Jun 19 09:55:46 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 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(+)
--
2.34.1
More information about the kernel-team
mailing list