]> git.karo-electronics.de Git - karo-tx-linux.git/commit
efifb: Implement vga_default_device() (v2)
authorMatthew Garrett <mjg@redhat.com>
Mon, 16 Apr 2012 20:26:05 +0000 (16:26 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Apr 2012 08:50:18 +0000 (09:50 +0100)
commitb4aa0163056b6c70029b6e8619ce07c274351f42
tree4cb41bfde5026aeff49656fb07acdf77c9f1fc31
parent88674088d10ca2538b2efd2559f6620ade8ec373
efifb: Implement vga_default_device() (v2)

EFI doesn't typically make use of the legacy VGA ROM, but it may still be
configured to pass that through to a given video device. This may lead to
an inaccurate choice of default video device. Add support to efifb to pick
out the correct active video device.

v2: fix if->ifdef

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: hpa@zytor.com
Cc: matt.fleming@intel.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
arch/x86/include/asm/vga.h
drivers/video/efifb.c