Home
last modified time | relevance | path

Searched refs:fence_excl (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/dma-buf/
Ddma-resv.c106 RCU_INIT_POINTER(obj->fence_excl, NULL); in dma_resv_init()
123 excl = rcu_dereference_protected(obj->fence_excl, 1); in dma_resv_fini()
302 RCU_INIT_POINTER(obj->fence_excl, fence); in dma_resv_add_excl_fence()
379 new = dma_fence_get_rcu_safe(&src->fence_excl); in dma_resv_copy_fences()
387 RCU_INIT_POINTER(dst->fence_excl, new); in dma_resv_copy_fences()
416 struct dma_fence *fence_excl; in dma_resv_get_fences() local
430 fence_excl = dma_resv_excl_fence(obj); in dma_resv_get_fences()
431 if (fence_excl && !dma_fence_get_rcu(fence_excl)) in dma_resv_get_fences()
438 if (!pfence_excl && fence_excl) in dma_resv_get_fences()
449 dma_fence_put(fence_excl); in dma_resv_get_fences()
[all …]
Ddma-buf.c215 struct dma_fence *fence_excl; in dma_buf_poll() local
240 fence_excl = dma_resv_excl_fence(resv); in dma_buf_poll()
246 if (fence_excl && (!(events & EPOLLOUT) || shared_count == 0)) { in dma_buf_poll()
262 if (!dma_fence_get_rcu(fence_excl)) { in dma_buf_poll()
266 } else if (!dma_fence_add_callback(fence_excl, &dcb->cb, in dma_buf_poll()
269 dma_fence_put(fence_excl); in dma_buf_poll()
275 dma_fence_put(fence_excl); in dma_buf_poll()
/Linux-v5.15/include/linux/
Ddma-resv.h74 struct dma_fence __rcu *fence_excl; member
228 return rcu_dereference_check(obj->fence_excl, dma_resv_held(obj)); in dma_resv_excl_fence()
247 if (!rcu_access_pointer(obj->fence_excl)) in dma_resv_get_excl_unlocked()
251 fence = dma_fence_get_rcu_safe(&obj->fence_excl); in dma_resv_get_excl_unlocked()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c1284 rcu_assign_pointer(resv->fence_excl, &chain->base); in amdgpu_cs_submit()
Damdgpu_ttm.c120 fence = rcu_dereference(resv->fence_excl); in amdgpu_evict_flags()