Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config VGA_ARB
  3. bool "VGA Arbitration" if EXPERT
  4. default y
  5. depends on (PCI && !S390)
  6. help
  7. Some "legacy" VGA devices implemented on PCI typically have the same
  8. hard-decoded addresses as they did on ISA. When multiple PCI devices
  9. are accessed at same time they need some kind of coordination. Please
  10. see Documentation/gpu/vgaarbiter.rst for more details. Select this to
  11. enable VGA arbiter.
  12. config VGA_ARB_MAX_GPUS
  13. int "Maximum number of GPUs"
  14. default 16
  15. depends on VGA_ARB
  16. help
  17. Reserves space in the kernel to maintain resource locking for
  18. multiple GPUS. The overhead for each GPU is very small.
  19. config VGA_SWITCHEROO
  20. bool "Laptop Hybrid Graphics - GPU switching support"
  21. depends on X86
  22. depends on ACPI
  23. depends on PCI
  24. depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
  25. select VGA_ARB
  26. help
  27. Many laptops released in 2008/9/10 have two GPUs with a multiplexer
  28. to switch between them. This adds support for dynamic switching when
  29. X isn't running and delayed switching until the next logoff. This
  30. feature is called hybrid graphics, ATI PowerXpress, and Nvidia
  31. HybridPower.