18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig VGA_ARB 38c2ecf20Sopenharmony_ci bool "VGA Arbitration" if EXPERT 48c2ecf20Sopenharmony_ci default y 58c2ecf20Sopenharmony_ci depends on (PCI && !S390) 68c2ecf20Sopenharmony_ci help 78c2ecf20Sopenharmony_ci Some "legacy" VGA devices implemented on PCI typically have the same 88c2ecf20Sopenharmony_ci hard-decoded addresses as they did on ISA. When multiple PCI devices 98c2ecf20Sopenharmony_ci are accessed at same time they need some kind of coordination. Please 108c2ecf20Sopenharmony_ci see Documentation/gpu/vgaarbiter.rst for more details. Select this to 118c2ecf20Sopenharmony_ci enable VGA arbiter. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciconfig VGA_ARB_MAX_GPUS 148c2ecf20Sopenharmony_ci int "Maximum number of GPUs" 158c2ecf20Sopenharmony_ci default 16 168c2ecf20Sopenharmony_ci depends on VGA_ARB 178c2ecf20Sopenharmony_ci help 188c2ecf20Sopenharmony_ci Reserves space in the kernel to maintain resource locking for 198c2ecf20Sopenharmony_ci multiple GPUS. The overhead for each GPU is very small. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciconfig VGA_SWITCHEROO 228c2ecf20Sopenharmony_ci bool "Laptop Hybrid Graphics - GPU switching support" 238c2ecf20Sopenharmony_ci depends on X86 248c2ecf20Sopenharmony_ci depends on ACPI 258c2ecf20Sopenharmony_ci depends on PCI 268c2ecf20Sopenharmony_ci depends on (FRAMEBUFFER_CONSOLE=n || FB=y) 278c2ecf20Sopenharmony_ci select VGA_ARB 288c2ecf20Sopenharmony_ci help 298c2ecf20Sopenharmony_ci Many laptops released in 2008/9/10 have two GPUs with a multiplexer 308c2ecf20Sopenharmony_ci to switch between them. This adds support for dynamic switching when 318c2ecf20Sopenharmony_ci X isn't running and delayed switching until the next logoff. This 328c2ecf20Sopenharmony_ci feature is called hybrid graphics, ATI PowerXpress, and Nvidia 338c2ecf20Sopenharmony_ci HybridPower. 34