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