Skip to content
Commit 1a39b310 authored by Matthew Garrett's avatar Matthew Garrett Committed by Dave Airlie
Browse files

vgaarb: Add support for setting the default video device (v2)



The default VGA device is a somewhat fluid concept on platforms with
multiple GPUs. Add support for setting it so switching code can update
things appropriately, and make sure that the sysfs code returns the right
device if it's changed.

v2: Updated to fix builds when __ARCH_HAS_VGA_DEFAULT_DEVICE is false.

Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Acked-by: default avatar <benh@kernel.crashing.org>
Cc: airlied@redhat.com
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f122c610
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment