]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86/uniwill: Implement cTGP setting
authorWerner Sembach <wse@tuxedocomputers.com>
Thu, 15 Jan 2026 15:42:02 +0000 (16:42 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 26 Jan 2026 13:55:48 +0000 (15:55 +0200)
commit7c9aa38a59f611c619d026c2d082d0e8c9b9069f
tree8a006e50b924e904a3e65ebbc229aefe0142cda3
parentd8c560f76dcac7ff4c630d5d84958183adbf19d2
platform/x86/uniwill: Implement cTGP setting

Uniwill offers user setable cTGP for their EC on devices using NVIDIA 3000
Series and newer GPUs. This patch implements this setting as a sysfs
attribute.

For one device, the TUXEDO InfinityBook Gen7, the variant with and without
NVIDIA GPU can't be differentiated using only the DMI strings, so the new
probe callback needs to be used to test a bit from the EC memory.

Co-developed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20260115154332.402873-2-wse@tuxedocomputers.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/uniwill/uniwill-acpi.c