I'm reading through http://dri.sourceforge.net/doc/drm_low_level.html
------------------------------------------------------------
int drmDMA(int fd, drmDMAReqPtr request)
drmDMA can be used to reserve DMA buffers and to dispatch previously
reserved DMA buffers. ------------------------------------------------------------
"reserve DMA buffers"?? I thought it is only currently used to "dispatch" them, and actual allocation of DMA buffers is done via
I think they mean to get a buffer from the pool previously allocated by drmAddBufs().
drmAddBufs -- initialize global pool of buffers
drmDMA -- get a buffer from the pool
-- or send it to hardware.But you have to remember that the dma code in the original drm was hopelessly inappropriate for the drivers we ended up writing, so is largely unused. We probably only use the first meaning of drmDMA in any actual driver.
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
