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