Home
last modified time | relevance | path

Searched refs:out_fence_fd (Results 1 - 18 of 18) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_ringbuffer.c39 sync_wait(fd_submit->out_fence_fd, -1); in retire_execute()
40 close(fd_submit->out_fence_fd); in retire_execute()
173 int *out_fence_fd = NULL; in flush_submit_list() local
183 out_fence_fd = &out_fence->fence_fd; in flush_submit_list()
186 * submit.. we can just re-use fd_submit->out_fence_fd for temporary in flush_submit_list()
189 out_fence_fd = &fd_submit->out_fence_fd; in flush_submit_list()
201 fd_submit->in_fence_fd, out_fence_fd, in flush_submit_list()
214 if (out_fence_fd != &fd_submit->out_fence_fd) in flush_submit_list()
[all...]
H A Dvirtio_device.c241 static int execbuf_flush_locked(struct fd_device *dev, int *out_fence_fd);
246 int in_fence_fd, int *out_fence_fd, int ring_idx) in execbuf_locked()
250 .flags = COND(out_fence_fd, VIRTGPU_EXECBUF_FENCE_FD_OUT) | in execbuf_locked()
267 if (out_fence_fd) in execbuf_locked()
268 *out_fence_fd = eb.fence_fd; in execbuf_locked()
284 int in_fence_fd, int *out_fence_fd, int ring_idx) in virtio_execbuf_fenced()
294 in_fence_fd, out_fence_fd, ring_idx); in virtio_execbuf_fenced()
302 execbuf_flush_locked(struct fd_device *dev, int *out_fence_fd) in execbuf_flush_locked() argument
311 NULL, 0, -1, out_fence_fd, 0); in execbuf_flush_locked()
244 execbuf_locked(struct fd_device *dev, void *cmd, uint32_t cmd_size, uint32_t *handles, uint32_t num_handles, int in_fence_fd, int *out_fence_fd, int ring_idx) execbuf_locked() argument
282 virtio_execbuf_fenced(struct fd_device *dev, struct msm_ccmd_req *req, uint32_t *handles, uint32_t num_handles, int in_fence_fd, int *out_fence_fd, int ring_idx) virtio_execbuf_fenced() argument
H A Dvirtio_priv.h181 int in_fence_fd, int *out_fence_fd, int ring_idx);
/third_party/libdrm/etnaviv/
H A Detnaviv_cmd_stream.c178 int *out_fence_fd) in flush()
202 if (out_fence_fd) in flush()
220 if (out_fence_fd) in flush()
221 *out_fence_fd = req.fence_fd; in flush()
232 int *out_fence_fd) in etna_cmd_stream_flush2()
234 flush(stream, in_fence_fd, out_fence_fd); in etna_cmd_stream_flush2()
177 flush(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd) flush() argument
230 etna_cmd_stream_flush2(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd) etna_cmd_stream_flush2() argument
H A Detnaviv_drmif.h147 int *out_fence_fd);
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_ohos.c299 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_enqueue_buffer()
300 dri2_surf->out_fence_fd = -1; in ohos_window_enqueue_buffer()
320 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_cancel_buffer()
322 dri2_surf->out_fence_fd = -1; in ohos_window_cancel_buffer()
959 if (dri2_surf->out_fence_fd >= 0) { in ohos_display_shared_buffer()
960 close(dri2_surf->out_fence_fd); in ohos_display_shared_buffer()
961 dri2_surf->out_fence_fd = -1; in ohos_display_shared_buffer()
963 } else if (dri2_surf->out_fence_fd >= 0) { in ohos_display_shared_buffer()
964 fence_fd = dri2_surf->out_fence_fd; in ohos_display_shared_buffer()
965 dri2_surf->out_fence_fd in ohos_display_shared_buffer()
[all...]
H A Dplatform_android.c559 int fence_fd = dri2_surf->out_fence_fd;
560 dri2_surf->out_fence_fd = -1;
580 int fence_fd = dri2_surf->out_fence_fd;
582 dri2_surf->out_fence_fd = -1;
1417 if (dri2_surf->out_fence_fd >= 0) {
1418 close(dri2_surf->out_fence_fd);
1419 dri2_surf->out_fence_fd = -1;
1421 } else if (dri2_surf->out_fence_fd >= 0) {
1422 fence_fd = dri2_surf->out_fence_fd;
1423 dri2_surf->out_fence_fd
[all...]
H A Degl_dri2.h397 int out_fence_fd; member
H A Degl_dri2.c1683 dri2_surf->out_fence_fd = -1; in dri2_init_surface()
1700 if (dri2_surf->out_fence_fd >= 0) in dri2_surface_set_out_fence_fd()
1701 close(dri2_surf->out_fence_fd); in dri2_surface_set_out_fence_fd()
1703 dri2_surf->out_fence_fd = fence_fd; in dri2_surface_set_out_fence_fd()
/third_party/mesa3d/src/etnaviv/drm/
H A Detnaviv_cmd_stream.c201 int *out_fence_fd, bool is_noop) in etna_cmd_stream_flush()
225 if (out_fence_fd) in etna_cmd_stream_flush()
247 if (out_fence_fd) in etna_cmd_stream_flush()
248 *out_fence_fd = req.fence_fd; in etna_cmd_stream_flush()
200 etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd, bool is_noop) etna_cmd_stream_flush() argument
H A Detnaviv_drmif.h158 int *out_fence_fd, bool is_noop);
/third_party/libdrm/freedreno/
H A Dfreedreno_ringbuffer.c119 int *out_fence_fd) in fd_ringbuffer_flush2()
121 return ring->funcs->flush(ring, ring->last_start, in_fence_fd, out_fence_fd); in fd_ringbuffer_flush2()
118 fd_ringbuffer_flush2(struct fd_ringbuffer *ring, int in_fence_fd, int *out_fence_fd) fd_ringbuffer_flush2() argument
H A Dfreedreno_ringbuffer.h109 * out_fence_fd: NULL for no output-fence requested, else ptr to return out-fence
112 int *out_fence_fd);
H A Dfreedreno_priv.h137 int in_fence_fd, int *out_fence_fd);
/third_party/libdrm/freedreno/kgsl/
H A Dkgsl_ringbuffer.c114 int in_fence_fd, int *out_fence_fd) in kgsl_ringbuffer_flush()
133 assert(out_fence_fd == NULL); in kgsl_ringbuffer_flush()
113 kgsl_ringbuffer_flush(struct fd_ringbuffer *ring, uint32_t *last_start, int in_fence_fd, int *out_fence_fd) kgsl_ringbuffer_flush() argument
/third_party/libdrm/freedreno/msm/
H A Dmsm_ringbuffer.c461 int in_fence_fd, int *out_fence_fd) in msm_ringbuffer_flush()
479 if (out_fence_fd) { in msm_ringbuffer_flush()
528 if (out_fence_fd) { in msm_ringbuffer_flush()
529 *out_fence_fd = req.fence_fd; in msm_ringbuffer_flush()
460 msm_ringbuffer_flush(struct fd_ringbuffer *ring, uint32_t *last_start, int in_fence_fd, int *out_fence_fd) msm_ringbuffer_flush() argument
/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_ringbuffer_sp.h80 int out_fence_fd; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_context.c510 int out_fence_fd = -1; in etna_flush() local
525 (flags & PIPE_FLUSH_FENCE_FD) ? &out_fence_fd : NULL, in etna_flush()
532 *fence = etna_fence_create(pctx, out_fence_fd); in etna_flush()

Completed in 18 milliseconds