[PATCH 0/3][SRU][B][C][D] Can't adjust brightness on DELL UHD dGPU AIO

AceLan Kao acelan.kao at canonical.com
Wed Jan 30 09:10:23 UTC 2019


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.

[Test]
Verified on new Dell AIO platforms.

[Regression Potential]
Expected. The get_scalar_status command is not supported by the first
generation AIO platforms, so the driver may not be loaded on old AIO
machines due to get_scalar_status command returns 0. To ease the pain,
the "force" parameter has been introduced to make the driver can be loaded
regardless of the return value of get_scalar_status command.

AceLan Kao (3):
  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

 drivers/platform/x86/dell-uart-backlight.c | 29 ++++++++++++++++------
 1 file changed, 21 insertions(+), 8 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list