locking memory ranges with the exa memory manager
Alex Deucher
alexdeucher at gmail.com
Thu Aug 11 07:07:19 PDT 2005
On 8/10/05, Thomas Winischhofer <thomas at winischhofer.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alex Deucher wrote:
> > Unless I'm missing something, I think exa needs a function to set the
> > number and size of offscreen memory pools. In porting exa to savage,
> > I'm having a hard time preventing the exa memory manager from using
> > the back/depth/texture buffers, etc. XAA allows you to pass a boxrect
> > to the memory manager to specify the size of the offscreen memory.
> > how would one do that with exa? All I can see right now is limiting
> > the size of the videoram you pass to exa.
> >
> > For example on savage the memory is laid out like this:
> >
> > start -----------------------------------------------------------------------------
> > end
> > front | offscreen | back | depth | textures | BCI queue | hwcursor
> >
> >
> > How do I limit the exa memory manager to just the offscreen portion?
>
>
> Erm... unless I totally misunderstood your question or the whole EXA
> memory manager concept, isn't that was
> EXADriverPtr->card.offscreenBase/memorySize is for? (Provided that you
> pre-allocate back, depth, textures, BCI queue and hwcursor.)
>
> start --------------------------------------/dri/savage/savage_init.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/savage/savage_xmesa.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/CVS
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/CVS/Entries
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/CVS/Entries.Log
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/CVS/Repository
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/Makefile
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server/CVS
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server/CVS/Entries
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server/CVS/Repository
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server/sis_common.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/server/sis_dri.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_alloc.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_alloc.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_clear.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_common2.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_context.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_context.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_dd.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_dd.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_debug.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_debug.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_fog.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_lock.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_lock.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_reg.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_screen.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_screen.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_span.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_span.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_state.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_state.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_stencil.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_stencil.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_tex.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_tex.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_texstate.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_tris.c
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_tris.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/sis/sis_tritmp.h
/home/srv/cvs.freedesktop.org/tmp/cvs-serv12691/extras/Mesa/src/mesa/drivers/dri/tdode
in each document using it.
Also remember US law on fonts is not the same as much of the rest of the
planet. GPL is just not a font license, and never should be used as one.
Secondly X and many of the Xorg users (notably some BSD's) specifically
want to avoid GPL material. Xorg has traditionally stayed "non-viral" so
this would be a very large change in policy.
More information about the xorg
mailing list