On Wed, Mar 12, 2003 at 08:39:31AM +0000, Keith Whitwell wrote:
> Philip Brown wrote:
> > http://dri.sourceforge.net/doc/drm_low_level.html
> >
> > should be updated with a functional description of
> > drmScatterGatherAlloc()
>
> Patches welcome... :-)
>
love to.. if I understood it... which would be facilitated by docs...
or code comments...
Best I have so far is,
int drmScatterGatherAlloc(int fd, unsigned long size, unsigned long *handle);
drmScatterGatherAlloc is called to allocate a large chunk of DMA-suitable
memory. Calling it more than once is an error.
Once the memory is allocated, the user-level may access it through
passing the handle to drmAddMap() with drmMapType DRM_SCATTER_GATHER.
User-level code only sees the virtual address space.
physical address of the allocated memory is passed to the hardware
through FM [*]
int drmAgiAlloc(int fd, unsigned long size, unsigned long type,
unsigned long *address, unsigned long *handle);
cf: drmScatterGatherAlloc(), FM
[*] FM == old programming joke.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel