Home
last modified time | relevance | path

Searched refs:timeout_ns (Results 1 – 25 of 51) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_fence.cpp52 wait_event(HANDLE event, int event_fd, uint64_t timeout_ns) in wait_event() argument
54 …DWORD timeout_ms = (timeout_ns == PIPE_TIMEOUT_INFINITE || timeout_ns > MaxTimeoutInNs) ? INFINITE… in wait_event()
77 wait_event(HANDLE event, int event_fd, uint64_t timeout_ns) in wait_event() argument
79 …int timeout_ms = (timeout_ns == PIPE_TIMEOUT_INFINITE || timeout_ns > MaxTimeoutInNs) ? -1 : timeo… in wait_event()
162 d3d12_fence_finish(struct d3d12_fence *fence, uint64_t timeout_ns) in d3d12_fence_finish() argument
168 if (!complete && timeout_ns) in d3d12_fence_finish()
169 complete = wait_event(fence->event, fence->event_fd, timeout_ns); in d3d12_fence_finish()
177 struct pipe_fence_handle *pfence, uint64_t timeout_ns) in fence_finish() argument
179 bool ret = d3d12_fence_finish(d3d12_fence(pfence), timeout_ns); in fence_finish()
Dd3d12_fence.h59 d3d12_fence_finish(struct d3d12_fence *fence, uint64_t timeout_ns);
Dd3d12_batch.h69 d3d12_reset_batch(struct d3d12_context *ctx, struct d3d12_batch *batch, uint64_t timeout_ns);
Dd3d12_batch.cpp112 d3d12_reset_batch(struct d3d12_context *ctx, struct d3d12_batch *batch, uint64_t timeout_ns) in d3d12_reset_batch() argument
119 if (!d3d12_fence_finish(batch->fence, timeout_ns)) in d3d12_reset_batch()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_fence.c88 tc_fence_finish(struct zink_context *ctx, struct zink_tc_fence *mfence, uint64_t *timeout_ns) in tc_fence_finish() argument
91 int64_t abs_timeout = os_time_get_absolute_timeout(*timeout_ns); in tc_fence_finish()
101 threaded_context_flush(&ctx->base, mfence->tc_token, *timeout_ns == 0); in tc_fence_finish()
107 if (*timeout_ns == PIPE_TIMEOUT_INFINITE) { in tc_fence_finish()
113 if (*timeout_ns && *timeout_ns != PIPE_TIMEOUT_INFINITE) { in tc_fence_finish()
115 *timeout_ns = abs_timeout > time_ns ? abs_timeout - time_ns : 0; in tc_fence_finish()
123 fence_wait(struct zink_screen *screen, struct zink_fence *fence, uint64_t timeout_ns) in fence_wait() argument
133 bool success = zink_screen_timeline_wait(screen, fence->batch_id, timeout_ns); in fence_wait()
145 uint64_t timeout_ns) in zink_fence_finish() argument
157 pctx->flush(pctx, NULL, !timeout_ns ? PIPE_FLUSH_ASYNC : 0); in zink_fence_finish()
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_fence.c78 uint64_t timeout_ns) in v3d_fence_wait() argument
96 uint64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns); in v3d_fence_wait()
111 uint64_t timeout_ns) in v3d_fence_finish() argument
116 return v3d_fence_wait(screen, fence, timeout_ns); in v3d_fence_finish()
Dv3d_bufmgr.c455 static int v3d_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) in v3d_wait_bo_ioctl() argument
459 .timeout_ns = timeout_ns, in v3d_wait_bo_ioctl()
470 v3d_bo_wait(struct v3d_bo *bo, uint64_t timeout_ns, const char *reason) in v3d_bo_wait() argument
474 if (unlikely(V3D_DEBUG & V3D_DEBUG_PERF) && timeout_ns && reason) { in v3d_bo_wait()
481 int ret = v3d_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns); in v3d_bo_wait()
Dv3d_bufmgr.h128 v3d_bo_wait(struct v3d_bo *bo, uint64_t timeout_ns, const char *reason);
131 v3d_wait_seqno(struct v3d_screen *screen, uint64_t seqno, uint64_t timeout_ns,
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c532 static int vc4_wait_seqno_ioctl(int fd, uint64_t seqno, uint64_t timeout_ns) in vc4_wait_seqno_ioctl() argument
536 .timeout_ns = timeout_ns, in vc4_wait_seqno_ioctl()
547 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns, in vc4_wait_seqno() argument
553 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { in vc4_wait_seqno()
560 int ret = vc4_wait_seqno_ioctl(screen->fd, seqno, timeout_ns); in vc4_wait_seqno()
574 static int vc4_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) in vc4_wait_bo_ioctl() argument
578 .timeout_ns = timeout_ns, in vc4_wait_bo_ioctl()
589 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, const char *reason) in vc4_bo_wait() argument
593 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { in vc4_bo_wait()
600 int ret = vc4_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns); in vc4_bo_wait()
Dvc4_fence.c80 uint64_t timeout_ns) in vc4_fence_finish() argument
86 return sync_wait(f->fd, timeout_ns / 1000000) == 0; in vc4_fence_finish()
88 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); in vc4_fence_finish()
Dvc4_bufmgr.h137 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, const char *reason);
140 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns,
/third_party/mesa3d/src/intel/vulkan/
Danv_gem.c235 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument
239 .timeout_ns = *timeout_ns, in anv_gem_wait()
244 *timeout_ns = wait.timeout_ns; in anv_gem_wait()
/third_party/libdrm/amdgpu/
Damdgpu_cs.c439 uint64_t timeout_ns, in amdgpu_ioctl_wait_cs() argument
455 args.in.timeout = timeout_ns; in amdgpu_ioctl_wait_cs()
457 args.in.timeout = amdgpu_cs_calculate_timeout(timeout_ns); in amdgpu_ioctl_wait_cs()
468 uint64_t timeout_ns, in amdgpu_cs_query_fence_status() argument
490 fence->fence, timeout_ns, flags, &busy); in amdgpu_cs_query_fence_status()
501 uint64_t timeout_ns, in amdgpu_ioctl_wait_fences() argument
524 args.in.timeout_ns = amdgpu_cs_calculate_timeout(timeout_ns); in amdgpu_ioctl_wait_fences()
541 uint64_t timeout_ns, in amdgpu_cs_wait_fences() argument
563 timeout_ns, status, first); in amdgpu_cs_wait_fences()
Damdgpu.h788 uint64_t timeout_ns,
1055 uint64_t timeout_ns,
1079 uint64_t timeout_ns,
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c523 bool lima_bo_wait(struct lima_bo *bo, uint32_t op, uint64_t timeout_ns) in lima_bo_wait() argument
527 if (timeout_ns == 0) in lima_bo_wait()
530 abs_timeout = os_time_get_absolute_timeout(timeout_ns); in lima_bo_wait()
538 .timeout_ns = abs_timeout, in lima_bo_wait()
Dlima_bo.h72 bool lima_bo_wait(struct lima_bo *bo, uint32_t op, uint64_t timeout_ns);
/third_party/mesa3d/include/drm-uapi/
Dvc4_drm.h209 __u64 timeout_ns; member
223 __u64 timeout_ns; member
/third_party/libdrm/include/drm/
Dvc4_drm.h209 __u64 timeout_ns; member
223 __u64 timeout_ns; member
/third_party/mesa3d/src/panfrost/lib/
Dpan_bo.c114 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers) in panfrost_bo_wait() argument
118 .timeout_ns = timeout_ns, in panfrost_bo_wait()
Dpan_bo.h121 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers);
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_sync.c105 uint64_t timeout_ns) in pvr_start_timeout() argument
108 timespec_add_nsec(timeout, timeout, timeout_ns); in pvr_start_timeout()
/third_party/node/deps/v8/src/execution/
Dfutex-emulation.cc322 double timeout_ns = rel_timeout_ms * in Wait() local
325 if (timeout_ns > static_cast<double>(std::numeric_limits<int64_t>::max())) { in Wait()
330 rel_timeout_ns = static_cast<int64_t>(timeout_ns); in Wait()
338 double WaitTimeoutInMs(double timeout_ns) { in WaitTimeoutInMs() argument
339 return timeout_ns < 0 in WaitTimeoutInMs()
341 : timeout_ns / (base::Time::kNanosecondsPerMicrosecond * in WaitTimeoutInMs()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c303 uint64_t timeout_ns) in v3dv_bo_wait() argument
307 .timeout_ns = timeout_ns, in v3dv_bo_wait()
Dv3dv_bo.h70 bool v3dv_bo_wait(struct v3dv_device *device, struct v3dv_bo *bo, uint64_t timeout_ns);
/third_party/libdrm/tegra/
Dsyncpt.c92 args.timeout_ns = 0; in drm_tegra_fence_wait()

123