xref: /openbmc/linux/drivers/gpu/vga/Kconfig (revision 343d4a79)
1deb2d2ecSBenjamin Herrenschmidtconfig VGA_ARB
26a108a14SDavid Rientjes	bool "VGA Arbitration" if EXPERT
3deb2d2ecSBenjamin Herrenschmidt	default y
4deb2d2ecSBenjamin Herrenschmidt	depends on PCI
5deb2d2ecSBenjamin Herrenschmidt	help
6deb2d2ecSBenjamin Herrenschmidt	  Some "legacy" VGA devices implemented on PCI typically have the same
7deb2d2ecSBenjamin Herrenschmidt	  hard-decoded addresses as they did on ISA. When multiple PCI devices
8deb2d2ecSBenjamin Herrenschmidt	  are accessed at same time they need some kind of coordination. Please
9deb2d2ecSBenjamin Herrenschmidt	  see Documentation/vgaarbiter.txt for more details. Select this to
10deb2d2ecSBenjamin Herrenschmidt	  enable VGA arbiter.
1136028f33SMike Travis
1236028f33SMike Travisconfig VGA_ARB_MAX_GPUS
1336028f33SMike Travis	int "Maximum number of GPUs"
1436028f33SMike Travis	default 16
1536028f33SMike Travis	depends on VGA_ARB
1636028f33SMike Travis	help
1736028f33SMike Travis	  Reserves space in the kernel to maintain resource locking for
1836028f33SMike Travis	  multiple GPUS.  The overhead for each GPU is very small.
1903a2c4d7SLinus Torvalds
206a9ee8afSDave Airlieconfig VGA_SWITCHEROO
21ca117d6dSRandy Dunlap	bool "Laptop Hybrid Graphics - GPU switching support"
226a9ee8afSDave Airlie	depends on X86
236a9ee8afSDave Airlie	depends on ACPI
24343d4a79SDave Airlie	select VGA_ARB
256a9ee8afSDave Airlie	help
26ca117d6dSRandy Dunlap	  Many laptops released in 2008/9/10 have two GPUs with a multiplexer
276a9ee8afSDave Airlie	  to switch between them. This adds support for dynamic switching when
286a9ee8afSDave Airlie          X isn't running and delayed switching until the next logoff. This
29ca117d6dSRandy Dunlap	  feature is called hybrid graphics, ATI PowerXpress, and Nvidia
306a9ee8afSDave Airlie	  HybridPower.
31