Multi-monitor (xinerama/mergefb) support in RandR

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jun 29 04:27:58 PDT 2006


On Thu, 2006-06-29 at 13:11 +0200, Eric Anholt wrote:
> On Thu, 2006-06-29 at 20:34 +1000, Benjamin Herrenschmidt wrote:
> > > No, EXA really shouldn't need to know anything about scanout buffers --
> > > they're just another scratch pixmap whose pointer happens to point at
> > > framebuffer.  If your driver wants to relocate where the screen is in
> > > memory, I think it would just have to get the screen pixmap and modify
> > > the pointer and pitch to the new location.
> > 
> > Well.. they also need to be pinned...
> 
> Yes, and we've already got locked allocations, except that they get
> kicked out at VT switch.  Which is why I said for some DRI drivers (that
> don't yet have a mechanism to announce a new FB location), it wouldn't
> quite be doable yet.

We'll need to deal with DRI loss of hardware access at one point or
another... VT switch, but also machines suspend/resume etc... 

Ben.





More information about the xorg mailing list