On 10/12/05, Attila Kinali <[EMAIL PROTECTED]> wrote: > On Fri, 7 Oct 2005 17:41:23 -0400 > Timothy Miller <[EMAIL PROTECTED]> wrote: > > > > 0: Indirect DMA commands > > > 3: Engine upload indirect > > I gave it this morning another thought and i think i found > another problem. These two commands above require both > a quite large buffer that is physically continous. > > Is there a way to split them up, so that s/g could be used? > (ok, gather only :). Otherwise they will be quite a pain > for the driver writer as higher order memory allocation > is quite hard to do if you do not do it right at startup.
When the userspace app makes a call to the driver with a memory area to insert into the buffer, it will provide an address and a length. The driver can walk the page tables and insert as many smaller uploads as necessary. If the ring buffer fills, this call will block. _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
