]> git.baikalelectronics.ru Git - kernel.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)
commit6076921c125ec566beb72c4ce26214fd9491c9bd
tree4cb41bfde5026aeff49656fb07acdf77c9f1fc31
parented6dd5a96c80082089efe9a8e37fcce41e493197
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