All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Huang, Ying" <ying.huang@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Chandramouli Narayanan <mouli@linux.intel.com>,
	linux-kernel@vger.kernel.org, ak@suse.de,
	"Antonino A. Daplas" <adaplas@pol.net>
Subject: Re: [PATCH 2.6.21 3/3] x86_64 EFI64 support Try #2
Date: Wed, 04 Jul 2007 21:45:37 +0000	[thread overview]
Message-ID: <1183585537.16719.31.camel@caritas-dev.intel.com> (raw)
In-Reply-To: <20070703163125.21114ad2.akpm@linux-foundation.org>

On Tue, 2007-07-03 at 16:31 -0700, Andrew Morton wrote:
> On Mon, 02 Jul 2007 10:06:17 -0700
> Chandramouli Narayanan <mouli@linux.intel.com> wrote:
> 
> > EFI x86_64 support Patch 3 of 3 (try #2)
> > ----------------------------------------
> > - Fixed redundant check in efifb_init().
> > 
> > This patch depends on the EFI x86_64 patches 1/3 and 2/3.
> > 
> > This patch adds Graphics Output Protocol support to the kernel.
> > x86_64 systems with UEFI2.0 firmware conform to UEFI 2.0 specification.
> > UEFI2.0 spec deprecates Universal Graphics Adapter (UGA) protocol and
> > only Graphics Output Protocol (GOP) is produced. Therefore, the boot loader
> > needs to query the UEFI firmware with appropriate Output Protocol and
> > pass the video information to the kernel. As a result of GOP
> > protocol, an EFI framebuffer driver is needed for displaying console messages.
> > Patch 3 of 3 adds a EFI framebuffer driver. The EFI frame buffer driver in this
> > patch is based on the Intel Mac framebuffer driver.
> > 
> > The x86_64 ELILO bootloader takes care of passing the video information
> > as appropriate for EFI firmware. 
> > 
> 
> That's more like a changelog.
> 
> Please cc linux-fbdev-devel@lists.sourceforge.net and "Antonino A.  Daplas"
> <adaplas@pol.net> on framebuffer driver patches.

Ok, will cc them.

> >  
> > +config FB_EFI
> > +	bool "EFI-based Framebuffer Support"
> > +	depends on (FB = y) && X86 && EFI
> 
> So this is selectable on i386 as well.  Has it been tested there?

I will test it.

> > +
> > +#include <linux/delay.h>
> > +#include <linux/errno.h>
> > +#include <linux/fb.h>
> > +#include <linux/kernel.h>
> > +#include <linux/init.h>
> > +#include <linux/ioport.h>
> > +#include <linux/mm.h>
> > +#include <linux/module.h>
> > +#include <linux/platform_device.h>
> > +#include <linux/screen_info.h>
> > +#include <linux/slab.h>
> > +#include <linux/string.h>
> > +#include <linux/dmi.h>
> > +#include <linux/efi.h>
> > +
> > +#include <asm/io.h>
> 
> checkpatch.pl will save me work.

Sorry, the next version will be checked with checkpatch.pl firstly.

> > +#ifndef __i386__
> > +	//screen_info.imacpm_seg = 0;
> > +#endif
> 
> hmm.
> 
> > +
> > +	if (!request_mem_region(efifb_fix.smem_start, size_total, "efifb")) {
> > +		printk(KERN_WARNING
> > +		       "efifb: cannot reserve video memory at 0x%lx\n",
> > +			efifb_fix.smem_start);
> 
> KERN_ERR?
> 
> 
Best Regards,
Huang, Ying

      reply	other threads:[~2007-07-04 13:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02 17:06 [PATCH 2.6.21 0/3] x86_64 EFI64 support Try #2 Chandramouli Narayanan
2007-07-02 17:06 ` [PATCH 2.6.21 1/3] " Chandramouli Narayanan
2007-07-03 23:25   ` Andrew Morton
2007-07-04 21:40     ` Huang, Ying
2007-07-02 17:06 ` [PATCH 2.6.21 2/3] " Chandramouli Narayanan
2007-07-03 23:27   ` Andrew Morton
2007-07-02 17:06 ` [PATCH 2.6.21 3/3] " Chandramouli Narayanan
2007-07-03 23:31   ` Andrew Morton
2007-07-04 21:45     ` Huang, Ying [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1183585537.16719.31.camel@caritas-dev.intel.com \
    --to=ying.huang@intel.com \
    --cc=adaplas@pol.net \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mouli@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.