[SRU] [Unstable/OEM-5.14] [PATCH 0/4] Add support for NVIDIA EC backlight

Kai-Heng Feng kai.heng.feng at canonical.com
Mon Dec 6 06:34:50 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1953286

[Impact]
Some system equipped with NVIDIA GFX cannot change screen brightness.

[Fix]
Add new way to change brightness.

[Test]
After the fix is applied, there's a new backlight sysfs
"nvidia_wmi_ec_backlight" can change the screen brightness.

[Where problems could occur]
The driver relies on BIOS to behave correctly. If the BIOS lies or has a
bug, the new backlight interface will overtake other backlight
interfaces. It's rather unlikely though.

Daniel Dadap (3):
  platform/x86: Add driver for ACPI WMAA EC-based backlight control
  platform/x86: Remove "WMAA" from identifier names in
    wmaa-backlight-wmi.c
  platform/x86: Rename wmaa-backlight-wmi to nvidia-wmi-ec-backlight

Kai-Heng Feng (1):
  UBUNTU: [Config] NVIDIA_WMI_EC_BACKLIGHT=m

 MAINTAINERS                                   |   6 +
 debian.master/config/annotations              |   1 +
 debian.master/config/config.common.ubuntu     |   1 +
 drivers/platform/x86/Kconfig                  |  15 ++
 drivers/platform/x86/Makefile                 |   1 +
 .../platform/x86/nvidia-wmi-ec-backlight.c    | 213 ++++++++++++++++++
 6 files changed, 237 insertions(+)
 create mode 100644 drivers/platform/x86/nvidia-wmi-ec-backlight.c

-- 
2.32.0




More information about the kernel-team mailing list