Searched refs:copy_fence (Results 1 – 1 of 1) sorted by relevance
666 struct dma_fence *copy_fence; in i915_gem_obj_copy_ttm() local691 copy_fence = __i915_ttm_move(src_bo, &ctx, false, dst_bo->resource, in i915_gem_obj_copy_ttm()697 if (IS_ERR_OR_NULL(copy_fence)) in i915_gem_obj_copy_ttm()698 return PTR_ERR_OR_ZERO(copy_fence); in i915_gem_obj_copy_ttm()700 dma_resv_add_fence(dst_bo->base.resv, copy_fence, DMA_RESV_USAGE_WRITE); in i915_gem_obj_copy_ttm()701 dma_resv_add_fence(src_bo->base.resv, copy_fence, DMA_RESV_USAGE_READ); in i915_gem_obj_copy_ttm()702 dma_fence_put(copy_fence); in i915_gem_obj_copy_ttm()