[forum] XFree86 5.0 TODO

Sven Luther forum@XFree86.Org
Thu, 20 Mar 2003 22:54:19 +0100


On Thu, Mar 20, 2003 at 04:48:20PM -0500, Alan Cox wrote:
> > >    In the new XAA, surface allocation is relegated to the driver,
> > > which can use any mechanism it wants to allocate these surfaces.
> > 
> > But will it not mean less code sharing if each driver has to do memory
> > management ?
> 
> I'd agree with the original comments here. In the kernel we've been
> moving away from core code making the assumptions. It makes a mess. Instead
> you need library code.
> 
> If there is a library for "generic" surface allocation you can just plug
> into, then the code is normally shared but you can override things. Think
> C++ virtual methods, then program them in a sane language ;)

Yes, that would be ok.

> > What kind of non-linear framebuffer is used (if you are allowed to tell
> > that is) and do you use a automated conversion unit or something such ?
> 
> A documented example is the i8xx where frame buffers are pulled from
> main memory via the AGP gart and scatter gather.

Mmm, but here, the depth has no influence on the non-linear framebuffer,
it doesn't really is a non-linear framebuffer, just a framebuffer where
not all the memory is directly available ? It still has a linear
addressing space ? Or maybe i am just misunderstanding things ?

Friendly,

Sven Luther