Benjamin Herrenschmidt | deb2d2e | 2009-08-11 15:52:06 +1000 | [diff] [blame] | 1 | config VGA_ARB |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 2 | bool "VGA Arbitration" if EXPERT |
Benjamin Herrenschmidt | deb2d2e | 2009-08-11 15:52:06 +1000 | [diff] [blame] | 3 | default y |
Jan Glauber | 1150f25 | 2012-11-29 14:40:40 +0100 | [diff] [blame] | 4 | depends on (PCI && !S390) |
Benjamin Herrenschmidt | deb2d2e | 2009-08-11 15:52:06 +1000 | [diff] [blame] | 5 | 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 Travis | 36028f3 | 2010-02-02 17:45:01 -0800 | [diff] [blame] | 11 | |
| 12 | config 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 Torvalds | 03a2c4d | 2010-03-04 07:49:37 -0800 | [diff] [blame] | 19 | |
Dave Airlie | 6a9ee8a | 2010-02-01 15:38:10 +1000 | [diff] [blame] | 20 | config VGA_SWITCHEROO |
Randy Dunlap | ca117d6 | 2010-05-17 10:54:04 -0700 | [diff] [blame] | 21 | bool "Laptop Hybrid Graphics - GPU switching support" |
Dave Airlie | 6a9ee8a | 2010-02-01 15:38:10 +1000 | [diff] [blame] | 22 | depends on X86 |
| 23 | depends on ACPI |
Dave Airlie | 343d4a7 | 2012-04-16 19:01:17 +0100 | [diff] [blame] | 24 | select VGA_ARB |
Dave Airlie | 6a9ee8a | 2010-02-01 15:38:10 +1000 | [diff] [blame] | 25 | help |
Randy Dunlap | ca117d6 | 2010-05-17 10:54:04 -0700 | [diff] [blame] | 26 | Many laptops released in 2008/9/10 have two GPUs with a multiplexer |
Dave Airlie | 6a9ee8a | 2010-02-01 15:38:10 +1000 | [diff] [blame] | 27 | 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 Dunlap | ca117d6 | 2010-05-17 10:54:04 -0700 | [diff] [blame] | 29 | feature is called hybrid graphics, ATI PowerXpress, and Nvidia |
Dave Airlie | 6a9ee8a | 2010-02-01 15:38:10 +1000 | [diff] [blame] | 30 | HybridPower. |