GL|ES Mesa and DRI
graeme at openmoko.org
Sun Nov 30 17:32:05 CET 2008
On Sat, 2008-11-29 at 18:51 +0100, Andreas Pokorny wrote:
> 2008/11/28 Graeme Gregory <graeme at openmoko.org>:
> > There are also other things to consider in the stack.
> > We need a good Xorg driver with DRI (or DRI like support) + the kernel
> > backend for this. I don't think anyone on arm has done this yet. We also
> > need to tie glamofb and the 2d EXA driver into this as well as Andy has
> > identified some locking problems which can only be solved by one common
> > point of access.
> > Currently the status with the Xorg driver is I have a skeleton in git
> > I've been trying to get my head around mode setting to RandR works and
> > struggling with it. I just can't work out how to tell Xorg we support 4
> > and exactly 4 modelines.
> Please correct me if I am going into the wrong direction. I believe we need a
> DRM like kernel module that manages memory and rendering states and handles
> context switches. I started reading about GEM and TTM, both do not seem to
> be a perfect match for glamo. From what I understood GEM prefers explicit IO
> to transfer data to the graphics memory. I guess mmap is faster on the neo.
Yes that is exactly what I was meaning. All three components (Xorg,
fbdev and GLES) will be fighting for locks and resources on the device
and need to be managed in a central location.
More information about the devel