| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_fence.c | 85 tc_fence_finish(struct zink_context *ctx, struct zink_tc_fence *mfence, uint64_t *timeout_ns) argument 88 int64_t abs_timeout = os_time_get_absolute_timeout(*timeout_ns); 98 threaded_context_flush(&ctx->base, mfence->tc_token, *timeout_ns == 0); 104 if (*timeout_ns == PIPE_TIMEOUT_INFINITE) { 110 if (*timeout_ns && *timeout_ns != PIPE_TIMEOUT_INFINITE) { 112 *timeout_ns = abs_timeout > time_ns ? abs_timeout - time_ns : 0; 120 zink_vkfence_wait(struct zink_screen *screen, struct zink_fence *fence, uint64_t timeout_ns) argument 133 if (timeout_ns) 134 ret = VKSCR(WaitForFences)(screen->dev, 1, &fence->fence, VK_TRUE, timeout_ns); 148 zink_fence_finish(struct zink_screen * screen,struct pipe_context * pctx,struct zink_tc_fence * mfence,uint64_t timeout_ns) argument 192 fence_finish(struct pipe_screen * pscreen,struct pipe_context * pctx,struct pipe_fence_handle * pfence,uint64_t timeout_ns) argument [all...] |
| H A D | zink_fence.h | 88 zink_vkfence_wait(struct zink_screen *screen, struct zink_fence *fence, uint64_t timeout_ns);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| H A D | d3d12_fence.cpp | 47 wait_event(HANDLE event, int event_fd, uint64_t timeout_ns) argument 49 DWORD timeout_ms = (timeout_ns == PIPE_TIMEOUT_INFINITE) ? INFINITE : timeout_ns / 1000000; 72 wait_event(HANDLE event, int event_fd, uint64_t timeout_ns) argument 74 int timeout_ms = (timeout_ns == PIPE_TIMEOUT_INFINITE) ? -1 : timeout_ns / 1000000; 129 d3d12_fence_finish(struct d3d12_fence *fence, uint64_t timeout_ns) argument 135 if (!complete && timeout_ns) 136 complete = wait_event(fence->event, fence->event_fd, timeout_ns); 144 struct pipe_fence_handle *pfence, uint64_t timeout_ns) 143 fence_finish(struct pipe_screen * pscreen,struct pipe_context * pctx,struct pipe_fence_handle * pfence,uint64_t timeout_ns) argument [all...] |
| H A D | d3d12_fence.h | 60 d3d12_fence_finish(struct d3d12_fence *fence, uint64_t timeout_ns);
|
| H A D | d3d12_batch.h | 70 d3d12_reset_batch(struct d3d12_context *ctx, struct d3d12_batch *batch, uint64_t timeout_ns);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| H A D | v3d_fence.c | 78 uint64_t timeout_ns) 96 uint64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns); 111 uint64_t timeout_ns) 116 return v3d_fence_wait(screen, fence, timeout_ns); 76 v3d_fence_wait(struct v3d_screen * screen,struct v3d_fence * fence,uint64_t timeout_ns) argument 108 v3d_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * pf,uint64_t timeout_ns) argument
|
| H A D | v3d_bufmgr.h | 128 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,
|
| H A D | v3d_bufmgr.c | 455 static int v3d_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) argument 459 .timeout_ns = timeout_ns, 470 v3d_bo_wait(struct v3d_bo *bo, uint64_t timeout_ns, const char *reason) argument 474 if (unlikely(V3D_DEBUG & V3D_DEBUG_PERF) && timeout_ns && reason) { 481 int ret = v3d_wait_bo_ioctl(screen->fd, bo->handle, timeout_ns);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| H A D | tu_fence.c | 236 tu_fence_get_poll_timeout(uint64_t timeout_ns) argument 239 uint64_t timeout_ms = timeout_ns / ns_per_ms; 242 if (timeout_ns - timeout_ms * ns_per_ms >= ns_per_ms / 2) 252 tu_fence_poll_fds(struct pollfd *fds, nfds_t nfds, uint64_t *timeout_ns) argument 257 int ret = poll(fds, nfds, tu_fence_get_poll_timeout(*timeout_ns)); 260 /* update timeout_ns */ 261 if (*timeout_ns > duration) 262 *timeout_ns -= duration; 264 *timeout_ns = 0; 269 if (!*timeout_ns) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ |
| H A D | lima_submit.h | 38 bool lima_submit_wait(struct lima_submit *submit, uint64_t timeout_ns);
|
| H A D | lima_bo.h | 64 bool lima_bo_wait(struct lima_bo *bo, uint32_t op, uint64_t timeout_ns);
|
| H A D | lima_submit.c | 155 bool lima_submit_wait(struct lima_submit *submit, uint64_t timeout_ns) argument 157 int64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| H A D | vc4_fence.c | 79 uint64_t timeout_ns) 85 return sync_wait(f->fd, timeout_ns / 1000000) == 0; 87 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); 76 vc4_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * pf,uint64_t timeout_ns) argument
|
| H A D | vc4_bufmgr.c | 540 static int vc4_wait_seqno_ioctl(int fd, uint64_t seqno, uint64_t timeout_ns) argument 544 .timeout_ns = timeout_ns, 555 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns, argument 561 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { 568 int ret = vc4_wait_seqno_ioctl(screen->fd, seqno, timeout_ns); 582 static int vc4_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) argument 586 .timeout_ns = timeout_ns, 597 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, cons argument [all...] |
| H A D | vc4_bufmgr.h | 137 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,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| H A D | vc4_fence.c | 80 uint64_t timeout_ns) 86 return sync_wait(f->fd, timeout_ns / 1000000) == 0; 88 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); 77 vc4_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * pf,uint64_t timeout_ns) argument
|
| H A D | vc4_bufmgr.c | 532 static int vc4_wait_seqno_ioctl(int fd, uint64_t seqno, uint64_t timeout_ns) argument 536 .timeout_ns = timeout_ns, 547 vc4_wait_seqno(struct vc4_screen *screen, uint64_t seqno, uint64_t timeout_ns, argument 553 if (unlikely(vc4_debug & VC4_DEBUG_PERF) && timeout_ns && reason) { 560 int ret = vc4_wait_seqno_ioctl(screen->fd, seqno, timeout_ns); 574 static int vc4_wait_bo_ioctl(int fd, uint32_t handle, uint64_t timeout_ns) argument 578 .timeout_ns = timeout_ns, 589 vc4_bo_wait(struct vc4_bo *bo, uint64_t timeout_ns, cons argument [all...] |
| H A D | vc4_bufmgr.h | 137 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,
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_bo.h | 119 panfrost_bo_wait(struct panfrost_bo *bo, int64_t timeout_ns, bool wait_readers);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/ |
| H A D | v3d_bufmgr.h | 128 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,
|
| H A D | v3d_fence.c | 68 uint64_t timeout_ns) 88 uint64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns); 65 v3d_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * pf,uint64_t timeout_ns) argument
|
| /xsrc/external/mit/libdrm/dist/tegra/ |
| H A D | syncpt.c | 92 args.timeout_ns = 0;
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | v3dv_bo.h | 68 bool v3dv_bo_wait(struct v3dv_device *device, struct v3dv_bo *bo, uint64_t timeout_ns);
|
| /xsrc/external/mit/MesaLib.old/dist/include/drm-uapi/ |
| H A D | panfrost_drm.h | 71 __s64 timeout_ns; /* absolute */ member in struct:drm_panfrost_wait_bo
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| H A D | lima_bo.h | 72 bool lima_bo_wait(struct lima_bo *bo, uint32_t op, uint64_t timeout_ns);
|