blob: 29437eabe0957d67893808ed7d668f54770c3fd7 [file] [log] [blame]
Benjamin Herrenschmidtdeb2d2e2009-08-11 15:52:06 +10001config VGA_ARB
David Rientjes6a108a12011-01-20 14:44:16 -08002 bool "VGA Arbitration" if EXPERT
Benjamin Herrenschmidtdeb2d2e2009-08-11 15:52:06 +10003 default y
Jan Glauber1150f252012-11-29 14:40:40 +01004 depends on (PCI && !S390)
Benjamin Herrenschmidtdeb2d2e2009-08-11 15:52:06 +10005 help
6 Some "legacy" VGA devices implemented on PCI typically have the same
7 hard-decoded addresses as they did on ISA. When multiple PCI devices
8 are accessed at same time they need some kind of coordination. Please
9 see Documentation/vgaarbiter.txt for more details. Select this to
10 enable VGA arbiter.
Mike Travis36028f32010-02-02 17:45:01 -080011
12config VGA_ARB_MAX_GPUS
13 int "Maximum number of GPUs"
14 default 16
15 depends on VGA_ARB
16 help
17 Reserves space in the kernel to maintain resource locking for
18 multiple GPUS. The overhead for each GPU is very small.
Linus Torvalds03a2c4d2010-03-04 07:49:37 -080019
Dave Airlie6a9ee8a2010-02-01 15:38:10 +100020config VGA_SWITCHEROO
Randy Dunlapca117d62010-05-17 10:54:04 -070021 bool "Laptop Hybrid Graphics - GPU switching support"
Dave Airlie6a9ee8a2010-02-01 15:38:10 +100022 depends on X86
23 depends on ACPI
Dave Airlie343d4a72012-04-16 19:01:17 +010024 select VGA_ARB
Dave Airlie6a9ee8a2010-02-01 15:38:10 +100025 help
Randy Dunlapca117d62010-05-17 10:54:04 -070026 Many laptops released in 2008/9/10 have two GPUs with a multiplexer
Dave Airlie6a9ee8a2010-02-01 15:38:10 +100027 to switch between them. This adds support for dynamic switching when
28 X isn't running and delayed switching until the next logoff. This
Randy Dunlapca117d62010-05-17 10:54:04 -070029 feature is called hybrid graphics, ATI PowerXpress, and Nvidia
Dave Airlie6a9ee8a2010-02-01 15:38:10 +100030 HybridPower.