blob: c8c770b05ed9b16ba2b005cf21028a579cd8a19e [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002config 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
David Brazdil0f672f62019-12-10 10:32:29 +000025 depends on PCI
26 depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000027 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.