summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuke D. Jones <luke@ljones.dev>2024-04-04 03:16:45 +0300
committerHans de Goede <hdegoede@redhat.com>2024-04-08 19:30:26 +0300
commiteb3bac90549a226df204a57eac45bbe5d6b4a0cf (patch)
treec9d465b542d9ed3103a687e78c26744bc86a74b8 /include
parentf81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0 (diff)
downloadlinux-eb3bac90549a226df204a57eac45bbe5d6b4a0cf.tar.xz
platform/x86: asus-wmi: add support for Vivobook GPU MUX
Add support for the Vivobook dgpu MUX available on the ASUS Viviobook and some of the other ranges (Zen). This MUX functions exactly the same as the existing ROG MUX support so the existing functionality now detects which MUX is available and uses that for control. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Luke D. Jones <luke@ljones.dev> Link: https://lore.kernel.org/r/20240404001652.86207-3-luke@ljones.dev Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/x86/asus-wmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h
index 9cadce10ad9a..b48b024dd844 100644
--- a/include/linux/platform_data/x86/asus-wmi.h
+++ b/include/linux/platform_data/x86/asus-wmi.h
@@ -128,6 +128,7 @@
/* gpu mux switch, 0 = dGPU, 1 = Optimus */
#define ASUS_WMI_DEVID_GPU_MUX 0x00090016
+#define ASUS_WMI_DEVID_GPU_MUX_VIVO 0x00090026
/* TUF laptop RGB modes/colours */
#define ASUS_WMI_DEVID_TUF_RGB_MODE 0x00100056