Home
last modified time | relevance | path

Searched refs:num_fences (Results 1 – 14 of 14) sorted by relevance

/third_party/weston/libweston/
Dlinux-sync-file.c57 return file_info.num_fences > 0; in linux_sync_file_is_valid()
75 file_info.num_fences = 1; in weston_linux_sync_file_read_timestamp()
Dlinux-sync-file-uapi.h21 __u32 num_fences; member
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1254 for (unsigned j = 0; j < bo->num_fences; ++j) { in amdgpu_add_bo_fence_dependencies()
1269 for (unsigned j = new_num_fences; j < bo->num_fences; ++j) in amdgpu_add_bo_fence_dependencies()
1272 bo->num_fences = new_num_fences; in amdgpu_add_bo_fence_dependencies()
1280 unsigned num_fences, in amdgpu_add_fences() argument
1283 if (bo->num_fences + num_fences > bo->max_fences) { in amdgpu_add_fences()
1284 unsigned new_max_fences = MAX2(bo->num_fences + num_fences, bo->max_fences * 2); in amdgpu_add_fences()
1287 bo->num_fences * sizeof(*new_fences), in amdgpu_add_fences()
1299 if (!bo->num_fences) in amdgpu_add_fences()
1302 bo->num_fences--; /* prefer to keep the most recent fence if possible */ in amdgpu_add_fences()
1303 amdgpu_fence_reference(&bo->fences[bo->num_fences], NULL); in amdgpu_add_fences()
[all …]
Damdgpu_bo.c91 for (idle_fences = 0; idle_fences < bo->num_fences; ++idle_fences) { in amdgpu_bo_wait()
101 (bo->num_fences - idle_fences) * sizeof(*bo->fences)); in amdgpu_bo_wait()
102 bo->num_fences -= idle_fences; in amdgpu_bo_wait()
104 buffer_idle = !bo->num_fences; in amdgpu_bo_wait()
112 while (bo->num_fences && buffer_idle) { in amdgpu_bo_wait()
129 if (fence_idle && bo->num_fences && bo->fences[0] == fence) { in amdgpu_bo_wait()
132 (bo->num_fences - 1) * sizeof(*bo->fences)); in amdgpu_bo_wait()
133 bo->num_fences--; in amdgpu_bo_wait()
158 for (unsigned i = 0; i < bo->num_fences; ++i) in amdgpu_bo_remove_fences()
162 bo->num_fences = 0; in amdgpu_bo_remove_fences()
[all …]
Damdgpu_bo.h106 uint16_t num_fences; member
Damdgpu_cs.h265 unsigned num_fences,
/third_party/mesa3d/include/drm-uapi/
Dsync_file.h82 __u32 num_fences; member
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c541 for (unsigned src = 0; src < bo->u.slab.num_fences; ++src) { in radeon_bo_slab_fence()
549 bo->u.slab.num_fences = dst; in radeon_bo_slab_fence()
552 if (bo->u.slab.num_fences >= bo->u.slab.max_fences) { in radeon_bo_slab_fence()
567 bo->u.slab.fences[bo->u.slab.num_fences] = NULL; in radeon_bo_slab_fence()
568 radeon_ws_bo_reference(&bo->u.slab.fences[bo->u.slab.num_fences], fence); in radeon_bo_slab_fence()
569 bo->u.slab.num_fences++; in radeon_bo_slab_fence()
Dradeon_drm_bo.h50 unsigned num_fences; member
Dradeon_drm_bo.c81 for (num_idle = 0; num_idle < bo->u.slab.num_fences; ++num_idle) { in radeon_bo_is_busy()
89 (bo->u.slab.num_fences - num_idle) * sizeof(bo->u.slab.fences[0])); in radeon_bo_is_busy()
90 bo->u.slab.num_fences -= num_idle; in radeon_bo_is_busy()
111 while (bo->u.slab.num_fences) { in radeon_bo_wait_idle()
120 if (bo->u.slab.num_fences && fence == bo->u.slab.fences[0]) { in radeon_bo_wait_idle()
123 (bo->u.slab.num_fences - 1) * sizeof(bo->u.slab.fences[0])); in radeon_bo_wait_idle()
124 bo->u.slab.num_fences--; in radeon_bo_wait_idle()
838 for (unsigned j = 0; j < bo->u.slab.num_fences; ++j) in radeon_bo_slab_free()
/third_party/mesa3d/src/util/
Dlibsync.h89 uint32_t num_fences;
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_batch.c71 num_fences(struct iris_batch *batch) in num_fences() function
83 fprintf(stderr, "Fence list (length %u): ", num_fences(batch)); in dump_fence_list()
833 if (num_fences(batch)) { in submit_batch()
835 execbuf.num_cliprects = num_fences(batch); in submit_batch()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_batch.c75 num_fences(struct crocus_batch *batch) in num_fences() function
87 fprintf(stderr, "Fence list (length %u): ", num_fences(batch)); in dump_fence_list()
876 if (num_fences(batch)) { in submit_batch()
878 execbuf.num_cliprects = num_fences(batch); in submit_batch()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_batch.c62 num_fences(struct brw_batch *batch) in num_fences() function
743 if (num_fences(batch)) { in execbuffer()
745 execbuf.num_cliprects = num_fences(batch); in execbuffer()