> > What's going to happen to the card if drmDMA() returns EAGAIN rather than > EBUSY, which is what it does in the case where radeon_freelist_get returns > NULL? Should the drm kernel module return EBUSY in that circumstance? None > of the userspace parts seem to check for EAGAIN, but all the drm modules > seem to return it when freelist_get falls off the bottom.
drmDMA can legitimately fail in this way - if the card is busy and/or there are other active clients holding buffers. In that case, the client is expected to retry. The problem is that if the card has locked, you end up in the same place, and get people trying to fix this code, which is just the effect, not the cause of the problem. Keith _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel