xref: /linux/drivers/gpu/vga/Kconfig (revision 06ed6aa56ffac9241e03a24649e8d048f8f1b10c)
1# SPDX-License-Identifier: GPL-2.0-only
2config VGA_ARB
3	bool "VGA Arbitration" if EXPERT
4	default y
5	depends on (PCI && !S390)
6	help
7	  Some "legacy" VGA devices implemented on PCI typically have the same
8	  hard-decoded addresses as they did on ISA. When multiple PCI devices
9	  are accessed at same time they need some kind of coordination. Please
10	  see Documentation/gpu/vgaarbiter.rst for more details. Select this to
11	  enable VGA arbiter.
12
13config VGA_ARB_MAX_GPUS
14	int "Maximum number of GPUs"
15	default 16
16	depends on VGA_ARB
17	help
18	  Reserves space in the kernel to maintain resource locking for
19	  multiple GPUS.  The overhead for each GPU is very small.
20
21config VGA_SWITCHEROO
22	bool "Laptop Hybrid Graphics - GPU switching support"
23	depends on X86
24	depends on ACPI
25	depends on PCI
26	depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
27	select VGA_ARB
28	help
29	  Many laptops released in 2008/9/10 have two GPUs with a multiplexer
30	  to switch between them. This adds support for dynamic switching when
31	  X isn't running and delayed switching until the next logoff. This
32	  feature is called hybrid graphics, ATI PowerXpress, and Nvidia
33	  HybridPower.
34