Skip to content

Commit 32e7518

Browse files
qzedStollD
authored andcommitted
surface_acpi: Integrate dGPU hot-plug system
- Integrate dGPU hot-plug system driver into SAM driver collection. - Fix MODULE_ALIAS definitions for auto-loading the SID battery/ac drivers.
1 parent 456cdc4 commit 32e7518

File tree

7 files changed

+1274
-12
lines changed

7 files changed

+1274
-12
lines changed

drivers/platform/x86/surface_sam/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ config SURFACE_SAM_DTX
9191

9292
If you are not sure, say M here.
9393

94+
config SURFACE_SAM_HPS
95+
tristate "Surface dGPU Hot-Plug System (dGPU-HPS) Driver"
96+
depends on SURFACE_SAM_SSH
97+
depends on SURFACE_SAM_SAN
98+
default m
99+
---help---
100+
Driver to properly handle hot-plugging and explicit power-on/power-off
101+
of the discrete GPU (dGPU) on the Surface Book 2.
102+
103+
If you are not sure, say M here.
104+
94105
config SURFACE_SAM_SID
95106
tristate "Surface Platform Integration Driver"
96107
depends on SURFACE_SAM_SSH

drivers/platform/x86/surface_sam/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
obj-$(CONFIG_SURFACE_SAM_SSH) += surface_sam_ssh.o
22
obj-$(CONFIG_SURFACE_SAM_SAN) += surface_sam_san.o
33
obj-$(CONFIG_SURFACE_SAM_DTX) += surface_sam_dtx.o
4+
obj-$(CONFIG_SURFACE_SAM_HPS) += surface_sam_hps.o
45
obj-$(CONFIG_SURFACE_SAM_VHF) += surface_sam_vhf.o
56
obj-$(CONFIG_SURFACE_SAM_SID) += surface_sam_sid.o
67
obj-$(CONFIG_SURFACE_SAM_SID_GPELID) += surface_sam_sid_gpelid.o

0 commit comments

Comments
 (0)