Home
last modified time | relevance | path

Searched refs:shared_count (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/drivers/dma-buf/
Dreservation.c58 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared()
95 for (i = 0; i < fobj->shared_count; ++i) { in reservation_object_add_shared_inplace()
116 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace()
117 fobj->shared_count++; in reservation_object_add_shared_inplace()
136 fobj->shared_count = 1; in reservation_object_add_shared_replace()
146 fobj->shared_count = old->shared_count; in reservation_object_add_shared_replace()
148 for (i = 0; i < old->shared_count; ++i) { in reservation_object_add_shared_replace()
161 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace()
162 fobj->shared_count++; in reservation_object_add_shared_replace()
196 BUG_ON(old->shared_count >= old->shared_max); in reservation_object_add_shared_fence()
[all …]
Ddma-buf.c142 unsigned shared_count, seq; in dma_buf_poll() local
162 shared_count = fobj->shared_count; in dma_buf_poll()
164 shared_count = 0; in dma_buf_poll()
171 if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) { in dma_buf_poll()
175 if (shared_count == 0) in dma_buf_poll()
206 if ((events & POLLOUT) && shared_count > 0) { in dma_buf_poll()
221 for (i = 0; i < shared_count; ++i) { in dma_buf_poll()
245 if (i == shared_count) in dma_buf_poll()
/linux-4.4.14/include/linux/
Dreservation.h54 u32 shared_count, shared_max; member
99 for (i = 0; i < fobj->shared_count; ++i) in reservation_object_fini()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_debugfs.c66 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_sync.c112 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c80 for (i = 0; i < work->shared_count; ++i) in amdgpu_flip_work_func()
223 &work->shared_count, in amdgpu_crtc_page_flip()
276 for (i = 0; i < work->shared_count; ++i) in amdgpu_crtc_page_flip()
Damdgpu_sync.c186 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_sync_resv()
Damdgpu.h796 unsigned shared_count; member
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_fence.c409 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync()
431 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
Dnouveau_gem.c128 if (fobj && fobj->shared_count > 1) in nouveau_gem_object_unmap()
130 else if (fobj && fobj->shared_count == 1) in nouveau_gem_object_unmap()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo.c417 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()
1560 for (i = 0; fobj && timeout > 0 && i < fobj->shared_count; ++i) { in ttm_bo_wait()