Lines Matching defs:fence
39 * If we are asked to block we wait on all the oldest fence of all
40 * rings. We just wait for any of those fence to complete.
48 #include <linux/dma-fence.h>
123 dma_fence_put(sa->fence);
136 if (!sa->fence || !dma_fence_is_signaled(sa->fence))
209 * Return: true if either there is a fence we can wait for or
242 /* go over all fence list and try to find the closest sa
256 if (!dma_fence_is_signaled(sa->fence)) {
257 fences[i] = sa->fence;
334 sa->fence = NULL;
394 * @fence: fence that signals when suballocation is idle
396 * Free the suballocation. The suballocation can be re-used after @fence signals.
399 struct dma_fence *fence)
409 if (fence && !dma_fence_is_signaled(fence)) {
412 suballoc->fence = dma_fence_get(fence);
413 idx = fence->context & (DRM_SUBALLOC_MAX_QUEUES - 1);
444 if (i->fence)
446 (unsigned long long)i->fence->seqno,
447 (unsigned long long)i->fence->context);