diff options
| author | Marco Scardovi <scardracs@disroot.org> | 2026-08-05 20:28:06 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-09-16 02:18:48 +0300 |
| commit | b39c54c59e4e9afaac37d0370b776660ba86cbae (patch) | |
| tree | b987688f022f30f47e8d946727cf60002a446450 /include/linux | |
| parent | aa5e0d0fa3cce4e5e54e51b68676ce659a6fd156 (diff) | |
| download | linux-next-b39c54c59e4e9afaac37d0370b776660ba86cbae.tar.gz linux-next-b39c54c59e4e9afaac37d0370b776660ba86cbae.zip | |
platform/x86: asus-wmi: Add ASUS_WMI_DEVID_DGPU_POWER_STATE define
Add WMI device ID 0x00120097 (ASUS_WMI_DEVID_DGPU_POWER_STATE) to the
asus-wmi platform header. This device ID is used on ASUS ROG laptops to
query the discrete GPU (dGPU) power state level.
Suggested-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Marco Scardovi <scardracs@disroot.org>
Link: https://patch.msgid.link/20260805183131.3075-2-scardracs@disroot.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h index b5ed8c83ace1..289be6ac7335 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -140,8 +140,9 @@ #define ASUS_WMI_DEVID_APU_MEM 0x000600C1 -#define ASUS_WMI_DEVID_DGPU_BASE_TGP 0x00120099 +#define ASUS_WMI_DEVID_DGPU_POWER_STATE 0x00120097 #define ASUS_WMI_DEVID_DGPU_SET_TGP 0x00120098 +#define ASUS_WMI_DEVID_DGPU_BASE_TGP 0x00120099 /* gpu mux switch, 0 = dGPU, 1 = Optimus */ #define ASUS_WMI_DEVID_GPU_MUX 0x00090016 |
