Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_VGA_ARB
	bool "VGA Arbitration" if CONFIG_EXPERT
	default y
	depends on (CONFIG_PCI && !CONFIG_S390)
	help
	  Some "legacy" VGA devices implemented on CONFIG_PCI typically have the same
	  hard-decoded addresses as they did on CONFIG_ISA. When multiple CONFIG_PCI devices
	  are accessed at same time they need some kind of coordination. Please
	  see Documentation/gpu/vgaarbiter.rst for more details. Select this to
	  enable VGA arbiter.

config CONFIG_VGA_ARB_MAX_GPUS
	int "Maximum number of GPUs"
	default 16
	depends on CONFIG_VGA_ARB
	help
	  Reserves space in the kernel to maintain resource locking for
	  multiple GPUS.  The overhead for each GPU is very small.

config CONFIG_VGA_SWITCHEROO
	bool "Laptop Hybrid Graphics - GPU switching support"
	depends on CONFIG_X86
	depends on CONFIG_ACPI
	depends on CONFIG_PCI
	depends on (CONFIG_FRAMEBUFFER_CONSOLE=n || CONFIG_FB=y)
	select CONFIG_VGA_ARB
	help
	  Many laptops released in 2008/9/10 have two GPUs with a multiplexer
	  to switch between them. This adds support for dynamic switching when
          X isn't running and delayed switching until the next logoff. This
	  feature is called hybrid graphics, ATI PowerXpress, and Nvidia
	  HybridPower.