Thread (4 messages) flat view 4 messages, 3 authors, 2009-06-06

Re: [PATCH] fb: add support for handoff from firmware to hw framebuffers (v2)

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2009-06-06 02:13:21

On Sat, 6 Jun 2009 11:38:32 +1000 Dave Airlie [off-list ref] wrote:
On Fri, Jun 5, 2009 at 11:51 PM, Peter Jones[off-list ref] wrote:
quoted
On 06/05/2009 02:07 AM, Dave Airlie wrote:
quoted
From: Dave Airlie <airlied@redhat.com>

With KMS we have ran into an issue where we really want the KMS fb driver
to be the one running the console, so panics etc can be shown by switching
out of X etc.

However with vesafb/efifb built-in, we end up with those on fb0 and the
KMS fb driver on fb1, driving the same piece of hw, so this adds an fb info
flag to denote a firmware fbdev, and adds a new aperture base/size range
which can be compared when the hw drivers are installed to see if there
is a conflict with a firmware driver, and if there is the firmware driver is
unregistered and the hw driver takes over.

It uses new aperture_base/size members instead of comparing on the fix
smem_start/length, as smem_start/length might for example only cover the
first 1MB of the PCI aperture, and we could allocate the kms fb from 8MB
into the aperture, thus they would never overlap.

v2: add an fb_destroy callback so the firmware fb can cleanup after itself.
vesafb will now remove the region it reserves and destroy its fb info.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This version looks good to me.

Acked-by: Peter Jones <pjones@redhat.com>
Andrew do we have an fbdev maintainer
Tony suddenly vanished nearly two years ago.  He did that once before,
then resurfaced after six months - he'd been working in a remote
village with no net connection.  Hopefully he will reappear again.

In the meanwhile I'm handling fbdev patches and Geert and Krzysztof are
doing the technical work when time permits.  I'll occasionally troll
linux-fbdev-devel looking for patches which people send.
or can you pick this up for the next merge window?
No probs.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help