Lines Matching defs:fence
622 * vmw_bo_fence_single - Utility function to fence a single TTM buffer
625 * @bo: Pointer to the struct ttm_buffer_object to fence.
626 * @fence: Pointer to the fence. If NULL, this function will
627 * insert a fence into the command stream..
634 struct vmw_fence_obj *fence)
640 if (fence == NULL)
641 vmw_execbuf_fence_commands(NULL, dev_priv, &fence, NULL);
643 dma_fence_get(&fence->base);
647 dma_resv_add_fence(bo->base.resv, &fence->base,
651 dma_fence_wait(&fence->base, false);
652 dma_fence_put(&fence->base);