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

x86: Use vga_default_device() when determining whether an fb is primary



IORESOURCE_ROM_SHADOW is not necessarily an indication that the hardware
is the primary device. Add support for using the vgaarb functions and
fall back if nothing's set them.

Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Cc: mingo@redhat.com
Acked-by: default avatar <hpa@zytor.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 2fbe8c7c
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