History

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.

Luke D. Jones committed 3 years ago

Commit d4eca581 parent ee887803 files · +34 −2Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+3−1
@@ -100,7 +100,9 @@ · 99 unmodified lines
100100 /* Charging mode - 1=Barrel, 2=USB */
101101 #define ASUS_WMI_DEVID_CHARGE_MODE 0x0012006C
102102
103−/* dgpu on/off */
103+/* epu is connected? 1 == true */
104+#define ASUS_WMI_DEVID_EGPU_CONNECTED 0x00090018
105+/* egpu on/off */
104106 #define ASUS_WMI_DEVID_EGPU 0x00090019
105107
106108 /* dgpu on/off */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t