Messages in this thread | | | Date | Fri, 20 Apr 2012 12:13:19 +0100 | Subject | Re: [PATCH V2 4/4] efifb: Implement vga_default_device() | From | Dave Airlie <> |
| |
On Mon, Apr 16, 2012 at 9:26 PM, Matthew Garrett <mjg@redhat.com> wrote: > 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. > > Signed-off-by: Matthew Garrett <mjg@redhat.com> > Cc: hpa@zytor.com > Cc: matt.fleming@intel.com > --- > arch/x86/include/asm/vga.h | 6 ++++ > drivers/video/efifb.c | 77 ++++++++++++++++++++++++++++++++------------ > 2 files changed, 63 insertions(+), 20 deletions(-) > > diff --git a/arch/x86/include/asm/vga.h b/arch/x86/include/asm/vga.h > index c4b9dc2..2723c07 100644 > --- a/arch/x86/include/asm/vga.h > +++ b/arch/x86/include/asm/vga.h > @@ -17,4 +17,10 @@ > #define vga_readb(x) (*(x)) > #define vga_writeb(x, y) (*(y) = (x)) > > +#if CONFIG_FB_EFI
^ #ifdef?
Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |