1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2deb2d2ecSBenjamin Herrenschmidtconfig VGA_ARB 36a108a14SDavid Rientjes bool "VGA Arbitration" if EXPERT 4deb2d2ecSBenjamin Herrenschmidt default y 51150f254SJan Glauber depends on (PCI && !S390) 6deb2d2ecSBenjamin Herrenschmidt help 7deb2d2ecSBenjamin Herrenschmidt Some "legacy" VGA devices implemented on PCI typically have the same 8deb2d2ecSBenjamin Herrenschmidt hard-decoded addresses as they did on ISA. When multiple PCI devices 9deb2d2ecSBenjamin Herrenschmidt are accessed at same time they need some kind of coordination. Please 105fb94e9cSMauro Carvalho Chehab see Documentation/gpu/vgaarbiter.rst for more details. Select this to 11deb2d2ecSBenjamin Herrenschmidt enable VGA arbiter. 1236028f33SMike Travis 1336028f33SMike Travisconfig VGA_ARB_MAX_GPUS 1436028f33SMike Travis int "Maximum number of GPUs" 1536028f33SMike Travis default 16 1636028f33SMike Travis depends on VGA_ARB 1736028f33SMike Travis help 1836028f33SMike Travis Reserves space in the kernel to maintain resource locking for 1936028f33SMike Travis multiple GPUS. The overhead for each GPU is very small. 2003a2c4d7SLinus Torvalds 216a9ee8afSDave Airlieconfig VGA_SWITCHEROO 22ca117d6dSRandy Dunlap bool "Laptop Hybrid Graphics - GPU switching support" 236a9ee8afSDave Airlie depends on X86 246a9ee8afSDave Airlie depends on ACPI 2594e8e8e9SSinan Kaya depends on PCI 26343d4a79SDave Airlie select VGA_ARB 276a9ee8afSDave Airlie help 28ca117d6dSRandy Dunlap Many laptops released in 2008/9/10 have two GPUs with a multiplexer 296a9ee8afSDave Airlie to switch between them. This adds support for dynamic switching when 306a9ee8afSDave Airlie X isn't running and delayed switching until the next logoff. This 31ca117d6dSRandy Dunlap feature is called hybrid graphics, ATI PowerXpress, and Nvidia 326a9ee8afSDave Airlie HybridPower. 33