Home
last modified time | relevance | path

Searched refs:fd_submit (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_ringbuffer.c37 struct fd_submit_sp *fd_submit = job; in retire_execute() local
39 sync_wait(fd_submit->out_fence_fd, -1); in retire_execute()
40 close(fd_submit->out_fence_fd); in retire_execute()
46 struct fd_submit_sp *fd_submit = job; in retire_cleanup() local
47 fd_submit_del(&fd_submit->base); in retire_cleanup()
53 struct fd_submit_sp *fd_submit = to_fd_submit_sp(last_submit(submit_list)); in flush_submit_list() local
54 struct virtio_pipe *virtio_pipe = to_virtio_pipe(fd_submit->base.pipe); in flush_submit_list()
86 fd_submit_append_bo(fd_submit, deferred_primary->u.cmds[i].ring_bo); in flush_submit_list()
109 fd_submit_append_bo(fd_submit, fd_deferred_submit->bos[i]); in flush_submit_list()
125 bool bos_on_stack = fd_submit->nr_bos < bo_limit; in flush_submit_list()
[all …]
Dvirtio_priv.h161 struct fd_submit *virtio_submit_new(struct fd_pipe *pipe);
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer_sp.c91 fd_submit_suballoc_ring_bo(struct fd_submit *submit, in fd_submit_suballoc_ring_bo()
94 struct fd_submit_sp *fd_submit = to_fd_submit_sp(submit); in fd_submit_suballoc_ring_bo() local
98 if (fd_submit->suballoc_ring) { in fd_submit_suballoc_ring_bo()
100 to_fd_ringbuffer_sp(fd_submit->suballoc_ring); in fd_submit_suballoc_ring_bo()
104 fd_ringbuffer_size(fd_submit->suballoc_ring) + suballoc_ring->offset; in fd_submit_suballoc_ring_bo()
122 struct fd_ringbuffer *old_suballoc_ring = fd_submit->suballoc_ring; in fd_submit_suballoc_ring_bo()
124 fd_submit->suballoc_ring = fd_ringbuffer_ref(&fd_ring->base); in fd_submit_suballoc_ring_bo()
131 fd_submit_sp_new_ringbuffer(struct fd_submit *submit, uint32_t size, in fd_submit_sp_new_ringbuffer()
134 struct fd_submit_sp *fd_submit = to_fd_submit_sp(submit); in fd_submit_sp_new_ringbuffer() local
137 fd_ring = slab_alloc(&fd_submit->ring_pool); in fd_submit_sp_new_ringbuffer()
[all …]
Dfreedreno_ringbuffer.c33 struct fd_submit *
36 struct fd_submit *submit = pipe->funcs->submit_new(pipe); in fd_submit_new()
43 fd_submit_del(struct fd_submit *submit) in fd_submit_del()
56 struct fd_submit *
57 fd_submit_ref(struct fd_submit *submit) in fd_submit_ref()
64 fd_submit_flush(struct fd_submit *submit, int in_fence_fd, in fd_submit_flush()
72 fd_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in fd_submit_new_ringbuffer()
Dfreedreno_priv.h180 list_for_each_entry(struct fd_submit, name, list, node)
182 list_for_each_entry_safe(struct fd_submit, name, list, node)
184 list_last_entry(list, struct fd_submit, node)
200 struct fd_submit *(*submit_new)(struct fd_pipe *pipe);
270 struct fd_ringbuffer *(*new_ringbuffer)(struct fd_submit *submit,
273 int (*flush)(struct fd_submit *submit, int in_fence_fd,
275 void (*destroy)(struct fd_submit *submit);
278 struct fd_submit { struct
295 list_for_each_entry (struct fd_submit, submit, &dev->deferred_submits, node) { in fd_dev_count_deferred_cmds() argument
Dfreedreno_ringbuffer.h44 struct fd_submit;
82 struct fd_submit *fd_submit_new(struct fd_pipe *pipe);
87 void fd_submit_del(struct fd_submit *submit);
89 struct fd_submit * fd_submit_ref(struct fd_submit *submit);
92 struct fd_ringbuffer *fd_submit_new_ringbuffer(struct fd_submit *submit,
121 int fd_submit_flush(struct fd_submit *submit, int in_fence_fd,
Dfreedreno_ringbuffer_sp.h49 struct fd_submit base;
85 FD_DEFINE_CAST(fd_submit, fd_submit_sp);
112 struct fd_submit *submit;
123 struct fd_submit *fd_submit_sp_new(struct fd_pipe *pipe,
Dfreedreno_ringbuffer_sp_reloc.h52 struct fd_submit_sp *fd_submit = to_fd_submit_sp(fd_ring->u.submit); in X() local
54 fd_submit_append_bo(fd_submit, reloc->bo); in X()
122 struct fd_submit_sp *fd_submit = to_fd_submit_sp(fd_ring->u.submit); in X() local
125 fd_submit_append_bo(fd_submit, fd_target->u.reloc_bos[i]); in X()
/third_party/mesa3d/src/freedreno/drm/msm/
Dmsm_ringbuffer_sp.c39 struct fd_submit_sp *fd_submit = to_fd_submit_sp(last_submit(submit_list)); in flush_submit_list() local
40 struct msm_pipe *msm_pipe = to_msm_pipe(fd_submit->base.pipe); in flush_submit_list()
71 fd_submit_append_bo(fd_submit, deferred_primary->u.cmds[i].ring_bo); in flush_submit_list()
94 fd_submit_append_bo(fd_submit, fd_deferred_submit->bos[i]); in flush_submit_list()
104 if (fd_submit->in_fence_fd != -1) { in flush_submit_list()
106 req.fence_fd = fd_submit->in_fence_fd; in flush_submit_list()
114 if (fd_submit->out_fence && fd_submit->out_fence->use_fence_fd) { in flush_submit_list()
124 bool bos_on_stack = fd_submit->nr_bos < bo_limit; in flush_submit_list()
126 _submit_bos[bos_on_stack ? fd_submit->nr_bos : 0]; in flush_submit_list()
131 submit_bos = malloc(fd_submit->nr_bos * sizeof(submit_bos[0])); in flush_submit_list()
[all …]
Dmsm_ringbuffer.c44 struct fd_submit base;
65 FD_DEFINE_CAST(fd_submit, msm_submit);
111 struct fd_submit *submit;
178 msm_submit_suballoc_ring_bo(struct fd_submit *submit, in msm_submit_suballoc_ring_bo()
218 msm_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in msm_submit_new_ringbuffer()
269 msm_submit_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_flush()
392 msm_submit_destroy(struct fd_submit *submit) in msm_submit_destroy()
421 struct fd_submit *
425 struct fd_submit *submit; in msm_submit_new()
604 struct fd_submit *submit = msm_ring->u.submit; in msm_ringbuffer_check_size()
[all …]
Dmsm_priv.h72 struct fd_submit *msm_submit_new(struct fd_pipe *pipe);
73 struct fd_submit *msm_submit_sp_new(struct fd_pipe *pipe);
/third_party/mesa3d/src/freedreno/computerator/
Dmain.h69 struct fd_submit *submit);
Da4xx.c227 cs_ibo_emit(struct fd_ringbuffer *ring, struct fd_submit *submit, in cs_ibo_emit()
278 struct fd_submit *submit) in a4xx_emit_grid()
Da6xx.c304 cs_ibo_emit(struct fd_ringbuffer *ring, struct fd_submit *submit, in cs_ibo_emit()
399 struct fd_submit *submit) in a6xx_emit_grid()
Dmain.c272 struct fd_submit *submit = fd_submit_new(pipe); in main()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch.h197 struct fd_submit *submit;
/third_party/mesa3d/src/freedreno/ds/
Dfd_pps_driver.cc401 struct fd_submit *submit = fd_submit_new(pipe); in configure_counters()
/third_party/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c98 struct fd_submit *submit;
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst4520 - freedreno: Re-work fd_submit fence interface
4525 - freedreno/drm: fd_submit should hold ref to fd_pipe