2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-08-11 13:52:06 +08:00
|
|
|
config VGA_ARB
|
2011-01-21 06:44:16 +08:00
|
|
|
bool "VGA Arbitration" if EXPERT
|
2009-08-11 13:52:06 +08:00
|
|
|
default y
|
2012-11-29 21:40:40 +08:00
|
|
|
depends on (PCI && !S390)
|
2009-08-11 13:52:06 +08: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-09 02:14:57 +08:00
|
|
|
see Documentation/gpu/vgaarbiter.rst for more details. Select this to
|
2009-08-11 13:52:06 +08:00
|
|
|
enable VGA arbiter.
|
2010-02-03 09:45:01 +08: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 23:49:37 +08:00
|
|
|
|
2010-02-01 13:38:10 +08:00
|
|
|
config VGA_SWITCHEROO
|
2010-05-18 01:54:04 +08:00
|
|
|
bool "Laptop Hybrid Graphics - GPU switching support"
|
2010-02-01 13:38:10 +08:00
|
|
|
depends on X86
|
|
|
|
depends on ACPI
|
2019-01-05 18:05:58 +08:00
|
|
|
depends on PCI
|
2019-06-24 17:21:53 +08:00
|
|
|
depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
|
2012-04-17 02:01:17 +08:00
|
|
|
select VGA_ARB
|
2010-02-01 13:38:10 +08:00
|
|
|
help
|
2010-05-18 01:54:04 +08:00
|
|
|
Many laptops released in 2008/9/10 have two GPUs with a multiplexer
|
2010-02-01 13:38:10 +08:00
|
|
|
to switch between them. This adds support for dynamic switching when
|
|
|
|
X isn't running and delayed switching until the next logoff. This
|
2010-05-18 01:54:04 +08:00
|
|
|
feature is called hybrid graphics, ATI PowerXpress, and Nvidia
|
2010-02-01 13:38:10 +08:00
|
|
|
HybridPower.
|