mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-23 08:55:56 -04:00
platform/x86: asus-wmi: add WMI method to show if egpu connected
Exposes the WMI method which tells if the eGPU is properly connected on the devices that support it. Signed-off-by: Luke D. Jones <luke@ljones.dev> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230630053552.976579-5-luke@ljones.dev Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Hans de Goede
parent
ee887807d0
commit
d4eca58aaf
@@ -100,7 +100,9 @@
|
||||
/* Charging mode - 1=Barrel, 2=USB */
|
||||
#define ASUS_WMI_DEVID_CHARGE_MODE 0x0012006C
|
||||
|
||||
/* dgpu on/off */
|
||||
/* epu is connected? 1 == true */
|
||||
#define ASUS_WMI_DEVID_EGPU_CONNECTED 0x00090018
|
||||
/* egpu on/off */
|
||||
#define ASUS_WMI_DEVID_EGPU 0x00090019
|
||||
|
||||
/* dgpu on/off */
|
||||
|
||||
Reference in New Issue
Block a user