diff options
author | Luke D. Jones <luke@ljones.dev> | 2021-08-07 05:36:56 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-12 18:23:03 +0300 |
commit | 382b91db8044669d254006df799df9d85d4ad891 (patch) | |
tree | 4af456e5f426a991828aa69dc974ddaecf5a9387 /include/linux/platform_data/x86/asus-wmi.h | |
parent | 98829e84dc67630efb7de675f0a70066620468a3 (diff) | |
download | linux-382b91db8044669d254006df799df9d85d4ad891.tar.xz |
asus-wmi: Add egpu enable method
The X13 Flow laptops can utilise an external GPU. This requires
toggling an ACPI method which will first disable the internal
dGPU, and then enable the eGPU.
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20210807023656.25020-4-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/platform_data/x86/asus-wmi.h')
-rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h index a528f9d0e4b7..17dc5cb6f3f2 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -91,6 +91,9 @@ #define ASUS_WMI_DEVID_KBD_DOCK 0x00120063 /* dgpu on/off */ +#define ASUS_WMI_DEVID_EGPU 0x00090019 + +/* dgpu on/off */ #define ASUS_WMI_DEVID_DGPU 0x00090020 /* DSTS masks */ |