Searched refs:fobj (Results 1 – 7 of 7) sorted by relevance
119 struct dma_resv_list *fobj; in dma_resv_fini() local130 fobj = rcu_dereference_protected(obj->fence, 1); in dma_resv_fini()131 dma_resv_list_free(fobj); in dma_resv_fini()226 struct dma_resv_list *fobj; in dma_resv_add_shared_fence() local234 fobj = dma_resv_get_list(obj); in dma_resv_add_shared_fence()235 count = fobj->shared_count; in dma_resv_add_shared_fence()242 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence()249 BUG_ON(fobj->shared_count >= fobj->shared_max); in dma_resv_add_shared_fence()254 RCU_INIT_POINTER(fobj->shared[i], fence); in dma_resv_add_shared_fence()256 smp_store_mb(fobj->shared_count, count); in dma_resv_add_shared_fence()[all …]
199 struct dma_resv_list *fobj; in dma_buf_poll() local220 fobj = rcu_dereference(resv->fence); in dma_buf_poll()221 if (fobj) in dma_buf_poll()222 shared_count = fobj->shared_count; in dma_buf_poll()282 struct dma_fence *fence = rcu_dereference(fobj->shared[i]); in dma_buf_poll()1212 struct dma_resv_list *fobj; in dma_buf_debug_show() local1248 fobj = rcu_dereference(robj->fence); in dma_buf_debug_show()1249 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show()1262 fence = rcu_dereference(fobj->shared[i]); in dma_buf_debug_show()
60 struct dma_resv_list *fobj; in qxl_debugfs_buffers_info() local64 fobj = rcu_dereference(bo->tbo.base.resv->fence); in qxl_debugfs_buffers_info()65 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
338 struct dma_resv_list *fobj; in nouveau_fence_sync() local349 fobj = dma_resv_get_list(resv); in nouveau_fence_sync()352 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync()371 if (!exclusive || !fobj) in nouveau_fence_sync()374 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()378 fence = rcu_dereference_protected(fobj->shared[i], in nouveau_fence_sync()
705 struct dma_resv_list *fobj; in msm_gem_sync_object() local709 fobj = dma_resv_get_list(obj->resv); in msm_gem_sync_object()710 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object()720 if (!exclusive || !fobj) in msm_gem_sync_object()723 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object()724 fence = rcu_dereference_protected(fobj->shared[i], in msm_gem_sync_object()803 struct dma_resv_list *fobj; in msm_gem_describe() local845 fobj = rcu_dereference(robj->fence); in msm_gem_describe()846 if (fobj) { in msm_gem_describe()847 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe()[all …]
457 struct dma_resv_list *fobj; in etnaviv_gem_describe() local467 fobj = rcu_dereference(robj->fence); in etnaviv_gem_describe()468 if (fobj) { in etnaviv_gem_describe()469 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe()472 fence = rcu_dereference(fobj->shared[i]); in etnaviv_gem_describe()
457 struct dma_resv_list *fobj; in ttm_bo_flush_all_fences() local461 fobj = dma_resv_get_list(&bo->base._resv); in ttm_bo_flush_all_fences()466 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()467 fence = rcu_dereference_protected(fobj->shared[i], in ttm_bo_flush_all_fences()