2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-08-11 05:52:06 +00:00
|
|
|
config VGA_ARB
|
2011-01-20 22:44:16 +00:00
|
|
|
bool "VGA Arbitration" if EXPERT
|
2009-08-11 05:52:06 +00:00
|
|
|
default y
|
2012-11-29 13:40:40 +00:00
|
|
|
depends on (PCI && !S390)
|
2009-08-11 05:52:06 +00:00
|
|
|
help
|
|
|
|
Some "legacy" VGA devices implemented on PCI typically have the same
|
|
|
|
hard-decoded addresses as they did on ISA. When multiple PCI devices
|
|
|
|
are accessed at same time they need some kind of coordination. Please
|
2018-05-08 18:14:57 +00:00
|
|
|
see Documentation/gpu/vgaarbiter.rst for more details. Select this to
|
2009-08-11 05:52:06 +00:00
|
|
|
enable VGA arbiter.
|
2010-02-03 01:45:01 +00:00
|
|
|
|
|
|
|
config VGA_ARB_MAX_GPUS
|
|
|
|
int "Maximum number of GPUs"
|
|
|
|
default 16
|
|
|
|
depends on VGA_ARB
|
|
|
|
help
|
|
|
|
Reserves space in the kernel to maintain resource locking for
|
|
|
|
multiple GPUS. The overhead for each GPU is very small.
|
2010-03-04 15:49:37 +00:00
|
|
|
|
2010-02-01 05:38:10 +00:00
|
|
|
config VGA_SWITCHEROO
|
2010-05-17 17:54:04 +00:00
|
|
|
bool "Laptop Hybrid Graphics - GPU switching support"
|
2010-02-01 05:38:10 +00:00
|
|
|
depends on X86
|
|
|
|
depends on ACPI
|
2019-01-05 10:05:58 +00:00
|
|
|
depends on PCI
|
2019-06-24 09:21:53 +00:00
|
|
|
depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
|
2012-04-16 18:01:17 +00:00
|
|
|
select VGA_ARB
|
2010-02-01 05:38:10 +00:00
|
|
|
help
|
2010-05-17 17:54:04 +00:00
|
|
|
Many laptops released in 2008/9/10 have two GPUs with a multiplexer
|
2010-02-01 05:38:10 +00:00
|
|
|
to switch between them. This adds support for dynamic switching when
|
2019-11-20 13:33:27 +00:00
|
|
|
X isn't running and delayed switching until the next logoff. This
|
2010-05-17 17:54:04 +00:00
|
|
|
feature is called hybrid graphics, ATI PowerXpress, and Nvidia
|
2010-02-01 05:38:10 +00:00
|
|
|
HybridPower.
|