[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPM=9tz2Nxm8s-oDeCME2F1PmgLOAGFp7Y-8+oyMUoEn0eAeVQ@mail.gmail.com>
Date: Fri, 20 Apr 2012 12:13:19 +0100
From: Dave Airlie <airlied@...il.com>
To: Matthew Garrett <mjg@...hat.com>
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, matt.fleming@...el.com
Subject: Re: [PATCH V2 4/4] efifb: Implement vga_default_device()
On Mon, Apr 16, 2012 at 9:26 PM, Matthew Garrett <mjg@...hat.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@...hat.com>
> Cc: hpa@...or.com
> Cc: matt.fleming@...el.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists