APPLIED[M]: [PATCH 0/1][SRU][M] Make backlight module auto detect dell_uart_backlight
Andrea Righi
andrea.righi at canonical.com
Wed Sep 13 12:10:10 UTC 2023
On Wed, Sep 13, 2023 at 06:03:12PM +0800, AceLan Kao wrote:
> From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
>
> BugLink: https://bugs.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 on
> 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.
>
> [Other Info]
> dell-uart-backlight is still a Ubuntu only driver, so submit the patch
> as UBUNTU: SAUCE: patch.
Applied to mantic/linux.
It looks like this patch could be applied upstream as well. Is there any
plan to upstream this?
Thanks,
-Andrea
More information about the kernel-team
mailing list