APPLIED: [PATCH 0/4][SRU][B][D][E][OEM-B][OEM-OSP1-B] Can't adjust brightness on

Stefan Bader stefan.bader at canonical.com
Thu Nov 28 14:17:37 UTC 2019


On 07.11.19 07:36, AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1813877
> 
> [Impact]
> The dell-uart-backlight driver has been loaded, but the backlight is
> controller by graphics driver instead of scalar IC. The old way to
> determinate weather the driver should be loaded is not working anymore,
> since the behavior of scalar command, show firmware version, is not the
> same as old platforms.
> 
> [Fix]
> Using more a reliable command, get_scalar_status, to check if scalar is in
> charge of the AIO backlight.
> For the old platforms which don't have the new command, I add a list to
> list them all and use the old way to determinate the scalar IC.
> 
> [Test]
> Verified on old and new Dell AIO platforms.
> 
> [Regression Potential]
> Low. The quirk lists all old platforms which use the old way to check if
> scalar IC is in use. So, it won't change the behavior on old platforms,
> and apply the new method on new platforms.
> 
> AceLan Kao (4):
>   UBUNTU: SAUCE: platform/x86: dell-uart-backlight: add missing status
>     command
>   UBUNTU: SAUCE: platform/x86: dell-uart-backlight: load driver by
>     scalar status
>   UBUNTU: SAUCE: platform/x86: dell-uart-backlight: add force parameter
>   UBUNTU: SAUCE: platform/x86: dell-uart-backlight: add quirk for old
>     platforms
> 
>  drivers/platform/x86/dell-uart-backlight.c | 73 +++++++++++++++++++---
>  1 file changed, 64 insertions(+), 9 deletions(-)
> 
Applied to eoan,disco,bionic/master-next. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20191128/19da95df/attachment.sig>


More information about the kernel-team mailing list