mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-24 03:19:46 -04:00
Handle console remapping in fbcon in fb_switch_output(). Vga-switcheroo invokes this functionality before switching physical outputs to a new graphics device. Open-coding fbcon state in vga-switcheroo exposed fbdev implementation details. Vga-switcheroo is used for switching physical outputs among graphics hardware. This functionality is only supported by DRM drivers. A later update will further move fb_switch_output() into DRM's fbdev emulation; thus fully decoupling vga-switcheroo from fbdev. v3: - remove Kconfig dependency related to fbcon (Geert) v2: - use '#if defined' (Helge) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
15 lines
499 B
Plaintext
15 lines
499 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VGA_SWITCHEROO
|
|
bool "Laptop Hybrid Graphics - GPU switching support"
|
|
depends on X86
|
|
depends on ACPI
|
|
depends on PCI
|
|
depends on FB=y
|
|
select 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.
|