Home
last modified time | relevance | path

Searched refs:fobj (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/dma-buf/
Ddma-resv.c119 struct dma_resv_list *fobj; in dma_resv_fini() local
130 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() local
234 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 …]
Ddma-buf.c199 struct dma_resv_list *fobj; in dma_buf_poll() local
220 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()
1158 struct dma_resv_list *fobj; in dma_buf_debug_show() local
1194 fobj = rcu_dereference(robj->fence); in dma_buf_debug_show()
1195 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show()
1208 fence = rcu_dereference(fobj->shared[i]); in dma_buf_debug_show()
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_debugfs.c60 struct dma_resv_list *fobj; in qxl_debugfs_buffers_info() local
64 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()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_fence.c338 struct dma_resv_list *fobj; in nouveau_fence_sync() local
349 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()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem.c705 struct dma_resv_list *fobj; in msm_gem_sync_object() local
709 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() local
845 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 …]
/Linux-v5.4/tools/perf/scripts/python/
Dcompaction-times.py111 fobj = None variable in chead
115 cls.fobj = filter
124 if cls.fobj != None:
125 filtered = cls.fobj.filter(pid, comm)
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c457 struct dma_resv_list *fobj; in etnaviv_gem_describe() local
467 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()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo.c457 struct dma_resv_list *fobj; in ttm_bo_flush_all_fences() local
461 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()