On Sun, 2005-10-23 at 11:03 +0100, Dave Airlie wrote:
> >
> > So, something like Get/Set/UnsetAttribute() perhaps.
> >
> > But also, thinking about the use of these regions for DMA, synchronization 
> > is
> > important.  I saw the SetFence() entrypoint, there's no way to retire these
> > fences, eg a FinishFence().
> >
> > You've probably seen this one:
> >
> > http://oss.sgi.com/projects/ogl-sample/registry/NV/fence.txt
> >
> 
> cool, I've updated a bit more and also with some stuff from Ian's texmem
> code drop from a while back...
> 
> I'm a bit dubious on having the wait for fence, I'm not sure if we want to
> have a blocking call on the interface... i'd prefer for the user to be
> able to select on the drm fd or something and just use the test...

The select on the drm fd() can be wrapped by libdrm in the form of ... a
wait for fence call :) But yes, if there are other "events" or signals
happening while waiting ,that may be annoying (like a loss of context,
though I would expect all pending fences to be completed in that case). 

Ben.




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to