]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ACPI: video: Force backlight native for some TongFang devices
authorWerner Sembach <wse@tuxedocomputers.com>
Thu, 7 Jul 2022 18:09:52 +0000 (20:09 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 16 Sep 2022 08:53:49 +0000 (10:53 +0200)
commit8abf4b69992a689c63930463f30d47361b3588b5
treefb9719c6a6a6c7ac6021a6710ed9fcfa4fd6f4d2
parentc3fb7426ff68ae88772206a68ae215a95d5d1442
ACPI: video: Force backlight native for some TongFang devices

BugLink: https://bugs.launchpad.net/bugs/1989221
commit c752089f7cf5b5800c6ace4cdd1a8351ee78a598 upstream.

The TongFang PF5PU1G, PF4NU1F, PF5NU1G, and PF5LUXG/TUXEDO BA15 Gen10,
Pulse 14/15 Gen1, and Pulse 15 Gen2 have the same problem as the Clevo
NL5xRU and NL5xNU/TUXEDO Aura 15 Gen1 and Gen2:
They have a working native and video interface. However the default
detection mechanism first registers the video interface before
unregistering it again and switching to the native interface during boot.
This results in a dangling SBIOS request for backlight change for some
reason, causing the backlight to switch to ~2% once per boot on the first
power cord connect or disconnect event. Setting the native interface
explicitly circumvents this buggy behaviour by avoiding the unregistering
process.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: All applicable <stable@vger.kernel.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/acpi/video_detect.c