/third_party/mesa3d/src/freedreno/drm/virtio/ |
D | virtio_ringbuffer.c | 37 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 …]
|
D | virtio_priv.h | 161 struct fd_submit *virtio_submit_new(struct fd_pipe *pipe);
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer_sp.c | 91 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 …]
|
D | freedreno_ringbuffer.c | 33 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()
|
D | freedreno_priv.h | 180 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
|
D | freedreno_ringbuffer.h | 44 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,
|
D | freedreno_ringbuffer_sp.h | 49 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,
|
D | freedreno_ringbuffer_sp_reloc.h | 52 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/ |
D | msm_ringbuffer_sp.c | 39 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 …]
|
D | msm_ringbuffer.c | 44 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 …]
|
D | msm_priv.h | 72 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/ |
D | main.h | 69 struct fd_submit *submit);
|
D | a4xx.c | 227 cs_ibo_emit(struct fd_ringbuffer *ring, struct fd_submit *submit, in cs_ibo_emit() 278 struct fd_submit *submit) in a4xx_emit_grid()
|
D | a6xx.c | 304 cs_ibo_emit(struct fd_ringbuffer *ring, struct fd_submit *submit, in cs_ibo_emit() 399 struct fd_submit *submit) in a6xx_emit_grid()
|
D | main.c | 272 struct fd_submit *submit = fd_submit_new(pipe); in main()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch.h | 197 struct fd_submit *submit;
|
/third_party/mesa3d/src/freedreno/ds/ |
D | fd_pps_driver.cc | 401 struct fd_submit *submit = fd_submit_new(pipe); in configure_counters()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 98 struct fd_submit *submit;
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.2.0.rst | 4520 - freedreno: Re-work fd_submit fence interface 4525 - freedreno/drm: fd_submit should hold ref to fd_pipe
|