On Wed, Mar 26, 2003 at 12:37:08AM +0000, Alan Cox wrote:
> On Tue, 2003-03-25 at 23:15, Philip Brown wrote:
> > There are already AGP (and memory alloc) related calls in the X server
> > framework; xf86BindGARTMemory(), xf86EnableAGP(), etc.
> > 
> > The core X server should not be making calls into extension modules.
> > Extension modules should be making calls to xfree-exported functions.
> > If there arent sufficient xfree-exported functions, extend or add new ones.
> 
> The core doesn't have enough information to do all of this job. Video
> memory can be shared with other resources - not just X handled resources
> like Xv but DMA space for onchip mpeg2 decoders for example. (or audio
> even in one case)

If the core doesnt have enough information to do something, it probably
doesnt need information about it in the first place, and that information
should be kept in the extension module.

As far as video memory allocation, there are existing core routines that
handle that.
Utah-glx now uses the core routines to alloc video memory. 




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to