Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.h276 int in_fence_fd; member
507 if (ctx->batch && (ctx->batch->in_fence_fd != -1)) in fd_context_switch_from()
519 if (ctx->in_fence_fd != -1) { in fd_context_switch_to()
520 sync_accumulate("freedreno", &batch->in_fence_fd, ctx->in_fence_fd); in fd_context_switch_to()
521 close(ctx->in_fence_fd); in fd_context_switch_to()
522 ctx->in_fence_fd = -1; in fd_context_switch_to()
Dfreedreno_context.c223 if (ctx->in_fence_fd != -1) in fd_context_destroy()
224 close(ctx->in_fence_fd); in fd_context_destroy()
407 ctx->in_fence_fd = -1; in fd_context_init()
Dfreedreno_batch.c79 batch->in_fence_fd = -1; in batch_init()
150 if (batch->in_fence_fd != -1) in batch_fini()
151 close(batch->in_fence_fd); in batch_fini()
Dfreedreno_fence.c163 if (sync_accumulate("freedreno", &ctx->in_fence_fd, fence->fence_fd)) { in fd_fence_server_sync()
Dfreedreno_batch.h77 int in_fence_fd; member
/external/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,
/external/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer.c46 fd_submit_flush(struct fd_submit *submit, int in_fence_fd, int *out_fence_fd, in fd_submit_flush() argument
49 return submit->funcs->flush(submit, in_fence_fd, out_fence_fd, out_fence); in fd_submit_flush()
Dmsm_ringbuffer_sp.c226 msm_submit_sp_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_sp_flush() argument
253 if (in_fence_fd != -1) { in msm_submit_sp_flush()
255 req.fence_fd = in_fence_fd; in msm_submit_sp_flush()
Dmsm_ringbuffer.c280 msm_submit_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_flush() argument
359 if (in_fence_fd != -1) { in msm_submit_flush()
361 req.fence_fd = in_fence_fd; in msm_submit_flush()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.h31 int in_fence_fd, int *out_fence_fd,
38 #define intel_batchbuffer_flush_fence(brw, in_fence_fd, out_fence_fd) \ argument
39 _intel_batchbuffer_flush_fence((brw), (in_fence_fd), (out_fence_fd), \
/external/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.c151 if (vc4->in_fence_fd >= 0) in vc4_context_destroy()
152 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()
/external/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,
/external/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c208 void etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd, in etna_cmd_stream_flush() argument
228 if (in_fence_fd != -1) { in etna_cmd_stream_flush()
230 req.fence_fd = in_fence_fd; in etna_cmd_stream_flush()
Detnaviv_drmif.h148 void etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd,
/external/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()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c755 cbuf->in_fence_fd = -1; in virgl_drm_cmd_buf_create()
844 if (cbuf->in_fence_fd >= 0) { in virgl_drm_winsys_submit_cmd()
846 eb.fence_fd = cbuf->in_fence_fd; in virgl_drm_winsys_submit_cmd()
852 assert(cbuf->in_fence_fd < 0); in virgl_drm_winsys_submit_cmd()
861 if (cbuf->in_fence_fd >= 0) { in virgl_drm_winsys_submit_cmd()
862 close(cbuf->in_fence_fd); in virgl_drm_winsys_submit_cmd()
863 cbuf->in_fence_fd = -1; in virgl_drm_winsys_submit_cmd()
994 sync_accumulate("virgl", &cbuf->in_fence_fd, fence->fd); in virgl_fence_server_sync()
Dvirgl_drm_winsys.h108 int in_fence_fd; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c155 if (ctx->in_fence_fd != -1) in etna_context_destroy()
156 close(ctx->in_fence_fd); in etna_context_destroy()
478 etna_cmd_stream_flush(ctx->stream, ctx->in_fence_fd, in etna_flush()
594 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.h193 int in_fence_fd; member
/external/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