Re: [Dri-devel] drmScatterGatherAlloc missing from docs

2003-03-12 Thread Keith Whitwell
Philip Brown wrote:
http://dri.sourceforge.net/doc/drm_low_level.html

should be updated with a functional description of
drmScatterGatherAlloc()
[and probably a few other drmXXXYYY() routines that have appeared
 since 1999 ;-) ]
Patches welcome... :-)

Keith



---
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


Re: [Dri-devel] drmScatterGatherAlloc missing from docs

2003-03-12 Thread Philip Brown
On Wed, Mar 12, 2003 at 08:39:31AM +, 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


Re: [Dri-devel] drmScatterGatherAlloc missing from docs

2003-03-12 Thread Ian Romanick
Philip Brown wrote:
http://dri.sourceforge.net/doc/drm_low_level.html

should be updated with a functional description of
drmScatterGatherAlloc()
[and probably a few other drmXXXYYY() routines that have appeared
 since 1999 ;-) ]
I'm talking from my hat a bit here, but how hard would it be to mark 
up the source files appropriately so that we could automatically 
generate up-to-date documentation using doxygen?  I know the DRM sources 
are different (esp. the templatized versions), so it may not be as 
straight forward as with the user-mode code.  Thoughts?



---
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