Home
last modified time | relevance | path

Searched refs:in_fence_fd (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer_sp.c76 int in_fence_fd; member
242 msm_submit_sp_flush_prep(struct fd_submit *submit, int in_fence_fd, in msm_submit_sp_flush_prep() argument
264 msm_submit->in_fence_fd = (in_fence_fd == -1) ? in msm_submit_sp_flush_prep()
265 -1 : os_dupfd_cloexec(in_fence_fd); in msm_submit_sp_flush_prep()
338 if (msm_submit->in_fence_fd != -1) { in flush_submit_list()
340 req.fence_fd = msm_submit->in_fence_fd; in flush_submit_list()
401 if (msm_submit->in_fence_fd != -1) in flush_submit_list()
402 close(msm_submit->in_fence_fd); in flush_submit_list()
475 msm_submit_sp_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_sp_flush() argument
503 bool has_shared = msm_submit_sp_flush_prep(submit, in_fence_fd, out_fence); in msm_submit_sp_flush()
[all …]
Dfreedreno_ringbuffer.c64 fd_submit_flush(struct fd_submit *submit, int in_fence_fd, in fd_submit_flush() argument
68 return submit->funcs->flush(submit, in_fence_fd, out_fence); in fd_submit_flush()
Dmsm_ringbuffer.c270 msm_submit_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_flush() argument
352 if (in_fence_fd != -1) { in msm_submit_flush()
354 req.fence_fd = in_fence_fd; in msm_submit_flush()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c268 if (ctx->batch && (ctx->batch->in_fence_fd != -1)) in fd_context_switch_from()
280 if (ctx->in_fence_fd != -1) { in fd_context_switch_to()
281 sync_accumulate("freedreno", &batch->in_fence_fd, ctx->in_fence_fd); in fd_context_switch_to()
282 close(ctx->in_fence_fd); in fd_context_switch_to()
283 ctx->in_fence_fd = -1; in fd_context_switch_to()
346 if (ctx->in_fence_fd != -1) in fd_context_destroy()
347 close(ctx->in_fence_fd); in fd_context_destroy()
609 ctx->in_fence_fd = -1; in fd_context_init()
Dfreedreno_batch.c79 batch->in_fence_fd = -1; in batch_init()
198 if (batch->in_fence_fd != -1) in batch_fini()
199 close(batch->in_fence_fd); in batch_fini()
Dfreedreno_batch.h62 int in_fence_fd; member
/third_party/libdrm/etnaviv/
Detnaviv_cmd_stream.c177 static void flush(struct etna_cmd_stream *stream, int in_fence_fd, in flush() argument
197 if (in_fence_fd != -1) { in flush()
199 req.fence_fd = in_fence_fd; in flush()
231 int in_fence_fd, in etna_cmd_stream_flush2() argument
234 flush(stream, in_fence_fd, out_fence_fd); in etna_cmd_stream_flush2()
Detnaviv_drmif.h146 void etna_cmd_stream_flush2(struct etna_cmd_stream *stream, int in_fence_fd,
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_batch.h31 int in_fence_fd, int *out_fence_fd,
38 #define brw_batch_flush_fence(brw, in_fence_fd, out_fence_fd) \ argument
39 _brw_batch_flush_fence((brw), (in_fence_fd), (out_fence_fd), \
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_fence.c126 sync_accumulate("vc4", &vc4->in_fence_fd, fence->fd); in vc4_fence_server_sync()
142 vc4->in_fence_fd = -1; in vc4_fence_context_init()
Dvc4_context.c147 if (vc4->in_fence_fd >= 0) in vc4_context_destroy()
148 close(vc4->in_fence_fd); in vc4_context_destroy()
Dvc4_job.c479 if (vc4->in_fence_fd >= 0) { in vc4_job_submit()
482 vc4->in_fence_fd); in vc4_job_submit()
484 close(vc4->in_fence_fd); in vc4_job_submit()
485 vc4->in_fence_fd = -1; in vc4_job_submit()
/third_party/libdrm/freedreno/
Dfreedreno_ringbuffer.c118 drm_public int fd_ringbuffer_flush2(struct fd_ringbuffer *ring, int in_fence_fd, in fd_ringbuffer_flush2() argument
121 return ring->funcs->flush(ring, ring->last_start, in_fence_fd, out_fence_fd); in fd_ringbuffer_flush2()
Dfreedreno_ringbuffer.h111 int fd_ringbuffer_flush2(struct fd_ringbuffer *ring, int in_fence_fd,
Dfreedreno_priv.h137 int in_fence_fd, int *out_fence_fd);
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c210 void etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd, in etna_cmd_stream_flush() argument
230 if (in_fence_fd != -1) { in etna_cmd_stream_flush()
232 req.fence_fd = in_fence_fd; in etna_cmd_stream_flush()
Detnaviv_drmif.h152 void etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd,
/third_party/libdrm/freedreno/kgsl/
Dkgsl_ringbuffer.c114 int in_fence_fd, int *out_fence_fd) in kgsl_ringbuffer_flush() argument
132 assert(in_fence_fd == -1); in kgsl_ringbuffer_flush()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c867 cbuf->in_fence_fd = -1; in virgl_drm_cmd_buf_create()
956 if (cbuf->in_fence_fd >= 0) { in virgl_drm_winsys_submit_cmd()
958 eb.fence_fd = cbuf->in_fence_fd; in virgl_drm_winsys_submit_cmd()
964 assert(cbuf->in_fence_fd < 0); in virgl_drm_winsys_submit_cmd()
973 if (cbuf->in_fence_fd >= 0) { in virgl_drm_winsys_submit_cmd()
974 close(cbuf->in_fence_fd); in virgl_drm_winsys_submit_cmd()
975 cbuf->in_fence_fd = -1; in virgl_drm_winsys_submit_cmd()
1105 sync_accumulate("virgl", &cbuf->in_fence_fd, fence->fd); in virgl_fence_server_sync()
Dvirgl_drm_winsys.h116 int in_fence_fd; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c156 if (ctx->in_fence_fd != -1) in etna_context_destroy()
157 close(ctx->in_fence_fd); in etna_context_destroy()
494 etna_cmd_stream_flush(ctx->stream, ctx->in_fence_fd, in etna_flush()
615 ctx->in_fence_fd = -1; in etna_context_create()
Detnaviv_fence.c93 sync_accumulate("etnaviv", &ctx->in_fence_fd, pfence->fence_fd); in etna_fence_server_sync()
Detnaviv_context.h189 int in_fence_fd; member
/third_party/weston/libweston/backend-drm/
Dstate-helpers.c50 state->in_fence_fd = -1; in drm_plane_state_alloc()
82 state->in_fence_fd = -1; in drm_plane_state_free()
/third_party/libdrm/freedreno/msm/
Dmsm_ringbuffer.c461 int in_fence_fd, int *out_fence_fd) in msm_ringbuffer_flush() argument
474 if (in_fence_fd != -1) { in msm_ringbuffer_flush()
476 req.fence_fd = in_fence_fd; in msm_ringbuffer_flush()

12