Home
last modified time | relevance | path

Searched refs:wait_flags (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/vulkan/runtime/
Dvk_sync.c189 enum vk_sync_wait_flags wait_flags) in assert_valid_wait() argument
196 if (wait_flags & VK_SYNC_WAIT_PENDING) in assert_valid_wait()
217 enum vk_sync_wait_flags wait_flags, in __vk_sync_wait() argument
220 assert_valid_wait(sync, wait_value, wait_flags); in __vk_sync_wait()
223 assert(!(wait_flags & VK_SYNC_WAIT_ANY)); in __vk_sync_wait()
227 wait_flags, abs_timeout_ns); in __vk_sync_wait()
234 return sync->type->wait_many(device, 1, &wait, wait_flags, in __vk_sync_wait()
243 enum vk_sync_wait_flags wait_flags, in vk_sync_wait() argument
249 __vk_sync_wait(device, sync, wait_value, wait_flags, in vk_sync_wait()
255 return __vk_sync_wait(device, sync, wait_value, wait_flags, in vk_sync_wait()
[all …]
Dvk_drm_syncobj.c173 enum vk_sync_wait_flags wait_flags, in spin_wait_for_sync_file() argument
176 if (wait_flags & VK_SYNC_WAIT_ANY) { in spin_wait_for_sync_file()
211 enum vk_sync_wait_flags wait_flags, in vk_drm_syncobj_wait_many() argument
214 if ((wait_flags & VK_SYNC_WAIT_PENDING) && in vk_drm_syncobj_wait_many()
221 wait_flags, abs_timeout_ns); in vk_drm_syncobj_wait_many()
251 if (!(wait_flags & VK_SYNC_WAIT_ANY)) in vk_drm_syncobj_wait_many()
258 } else if (wait_flags & VK_SYNC_WAIT_PENDING) { in vk_drm_syncobj_wait_many()
Dvk_sync.h223 enum vk_sync_wait_flags wait_flags,
236 enum vk_sync_wait_flags wait_flags,
339 enum vk_sync_wait_flags wait_flags,
345 enum vk_sync_wait_flags wait_flags,
Dvk_sync_binary.c91 enum vk_sync_wait_flags wait_flags, in vk_sync_binary_wait_many() argument
107 wait_flags, abs_timeout_ns); in vk_sync_binary_wait_many()
Dvk_sync_timeline.c428 enum vk_sync_wait_flags wait_flags, in vk_sync_timeline_wait_locked() argument
471 if (wait_flags & VK_SYNC_WAIT_PENDING) in vk_sync_timeline_wait_locked()
507 enum vk_sync_wait_flags wait_flags, in vk_sync_timeline_wait() argument
514 wait_value, wait_flags, in vk_sync_timeline_wait()
Dvk_fence.c275 enum vk_sync_wait_flags wait_flags = VK_SYNC_WAIT_COMPLETE; in vk_common_WaitForFences() local
277 wait_flags |= VK_SYNC_WAIT_ANY; in vk_common_WaitForFences()
280 wait_flags, abs_timeout_ns); in vk_common_WaitForFences()
Dvk_semaphore.c321 enum vk_sync_wait_flags wait_flags = VK_SYNC_WAIT_COMPLETE; in vk_common_WaitSemaphores() local
323 wait_flags |= VK_SYNC_WAIT_ANY; in vk_common_WaitSemaphores()
326 wait_flags, abs_timeout_ns); in vk_common_WaitSemaphores()
Dvk_sync_dummy.c43 enum vk_sync_wait_flags wait_flags, in vk_sync_dummy_wait_many() argument
/third_party/mesa3d/src/intel/vulkan/
Danv_bo_sync.c103 enum vk_sync_wait_flags wait_flags, in anv_bo_sync_wait() argument
122 assert(!(wait_flags & VK_SYNC_WAIT_PENDING)); in anv_bo_sync_wait()
130 if (wait_flags & VK_SYNC_WAIT_ANY) in anv_bo_sync_wait()
138 if (!(wait_flags & VK_SYNC_WAIT_PENDING)) { in anv_bo_sync_wait()
148 if (wait_flags & VK_SYNC_WAIT_ANY) in anv_bo_sync_wait()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipe_sync.c146 enum vk_sync_wait_flags wait_flags, in lvp_pipe_sync_wait_locked() argument
149 assert(!(wait_flags & VK_SYNC_WAIT_ANY)); in lvp_pipe_sync_wait_locked()
191 if (sync->signaled || (wait_flags & VK_SYNC_WAIT_PENDING)) in lvp_pipe_sync_wait_locked()
226 enum vk_sync_wait_flags wait_flags, in lvp_pipe_sync_wait() argument
235 wait_flags, abs_timeout_ns); in lvp_pipe_sync_wait()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gfx_cs.c40 unsigned wait_flags = 0; in si_flush_gfx_cs() local
60 wait_flags |= wait_ps_cs; in si_flush_gfx_cs()
67 wait_flags |= wait_ps_cs; in si_flush_gfx_cs()
72 (!wait_flags || !ctx->gfx_last_ib_is_busy) && in si_flush_gfx_cs()
107 wait_flags |= SI_CONTEXT_PS_PARTIAL_FLUSH; in si_flush_gfx_cs()
127 if (wait_flags) { in si_flush_gfx_cs()
128 ctx->flags |= wait_flags; in si_flush_gfx_cs()
131 ctx->gfx_last_ib_is_busy = (wait_flags & wait_ps_cs) != wait_ps_cs; in si_flush_gfx_cs()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_sync.c131 enum vk_sync_wait_flags wait_flags, in dzn_sync_wait() argument
159 (wait_flags & VK_SYNC_WAIT_ANY) ? in dzn_sync_wait()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_sync.c129 enum vk_sync_wait_flags wait_flags, in pvr_srv_sync_wait_many() argument
207 if (wait_flags & VK_SYNC_WAIT_ANY) { in pvr_srv_sync_wait_many()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c517 enum vk_sync_wait_flags wait_flags, in tu_timeline_sync_wait() argument
521 bool wait_all = !(wait_flags & VK_SYNC_WAIT_ANY); in tu_timeline_sync_wait()
537 assert(!(wait_flags & VK_SYNC_WAIT_PENDING)); in tu_timeline_sync_wait()
540 if (wait_flags & VK_SYNC_WAIT_ANY) in tu_timeline_sync_wait()
543 if (!(wait_flags & VK_SYNC_WAIT_PENDING)) { in tu_timeline_sync_wait()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c2478 void ac_build_waitcnt(struct ac_llvm_context *ctx, unsigned wait_flags) in ac_build_waitcnt() argument
2480 if (!wait_flags) in ac_build_waitcnt()
2488 if (wait_flags & AC_WAIT_EXP) in ac_build_waitcnt()
2490 if (wait_flags & AC_WAIT_LGKM) in ac_build_waitcnt()
2492 if (wait_flags & AC_WAIT_VLOAD) in ac_build_waitcnt()
2495 if (wait_flags & AC_WAIT_VSTORE) { in ac_build_waitcnt()
2503 if ((wait_flags & AC_WAIT_LGKM && wait_flags & AC_WAIT_VLOAD && wait_flags & AC_WAIT_VSTORE) || in ac_build_waitcnt()
2505 assert(!(wait_flags & AC_WAIT_EXP)); in ac_build_waitcnt()
Dac_llvm_build.h434 void ac_build_waitcnt(struct ac_llvm_context *ctx, unsigned wait_flags);
Dac_nir_to_llvm.c3922 unsigned wait_flags = 0; in visit_intrinsic() local
3924 wait_flags |= AC_WAIT_VLOAD | AC_WAIT_VSTORE; in visit_intrinsic()
3926 wait_flags |= AC_WAIT_LGKM; in visit_intrinsic()
3928 if (wait_flags) in visit_intrinsic()
3929 ac_build_waitcnt(&ctx->ac, wait_flags); in visit_intrinsic()
/third_party/python/Lib/
Dsubprocess.py1893 def _try_wait(self, wait_flags): argument
1896 (pid, sts) = os.waitpid(self.pid, wait_flags)
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c3559 unsigned wait_flags = 0; in dri2_client_wait_sync() local
3569 wait_flags |= __DRI2_FENCE_FLAG_FLUSH_COMMANDS; in dri2_client_wait_sync()
3579 dri2_sync->fence, wait_flags, in dri2_client_wait_sync()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c1681 enum vk_sync_wait_flags wait_flags, in wsi_display_sync_wait() argument
1688 assert(wait_flags == VK_SYNC_WAIT_COMPLETE); in wsi_display_sync_wait()