• Home
  • Raw
  • Download

Lines Matching refs:submit

111          struct fd_submit *submit;  member
128 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() argument
139 if (unlikely((idx >= submit->nr_submit_bos) || in append_bo()
140 (submit->submit_bos[idx].handle != bo->handle))) { in append_bo()
144 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in append_bo()
150 submit, submit_bos, in append_bo()
156 APPEND(submit, bos, fd_bo_ref(bo)); in append_bo()
158 _mesa_hash_table_insert_pre_hashed(submit->bo_table, hash, bo, in append_bo()
179 msm_submit_suballoc_ring_bo(struct fd_submit *submit, in msm_submit_suballoc_ring_bo() argument
182 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_suballoc_ring_bo()
203 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, 0x8000); in msm_submit_suballoc_ring_bo()
219 msm_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in msm_submit_new_ringbuffer() argument
222 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_new_ringbuffer()
227 msm_ring->u.submit = submit; in msm_submit_new_ringbuffer()
235 msm_submit_suballoc_ring_bo(submit, msm_ring, size); in msm_submit_new_ringbuffer()
241 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, size); in msm_submit_new_ringbuffer()
251 handle_stateobj_relocs(struct msm_submit *submit, struct msm_ringbuffer *ring) in handle_stateobj_relocs() argument
263 relocs[i].reloc_idx = append_bo(submit, bo); in handle_stateobj_relocs()
270 msm_submit_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_flush() argument
273 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_flush()
274 struct msm_pipe *msm_pipe = to_msm_pipe(submit->pipe); in msm_submit_flush()
281 finalize_current_cmd(submit->primary); in msm_submit_flush()
282 append_ring(msm_submit->ring_set, submit->primary); in msm_submit_flush()
293 if (ring != submit->primary) in msm_submit_flush()
348 fd_bo_add_fence(msm_submit->bos[j], submit->pipe, submit->fence); in msm_submit_flush()
368 ret = drmCommandWriteRead(submit->pipe->dev->fd, DRM_MSM_GEM_SUBMIT, &req, in msm_submit_flush()
375 out_fence->fence.ufence = submit->fence; in msm_submit_flush()
393 msm_submit_destroy(struct fd_submit *submit) in msm_submit_destroy() argument
395 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_destroy()
426 struct fd_submit *submit; in msm_submit_new() local
435 submit = &msm_submit->base; in msm_submit_new()
436 submit->funcs = &submit_funcs; in msm_submit_new()
438 return submit; in msm_submit_new()
462 struct fd_pipe *pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_grow()
496 struct msm_submit *msm_submit = to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc()
500 pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_emit_reloc()
531 append_stateobj_rings(struct msm_submit *submit, struct fd_ringbuffer *target) in append_stateobj_rings() argument
540 append_ring(submit->ring_set, ring); in append_stateobj_rings()
543 append_stateobj_rings(submit, ring); in append_stateobj_rings()
577 struct msm_submit *msm_submit = to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc_ring()
585 struct msm_submit *msm_submit = to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc_ring()
605 struct fd_submit *submit = msm_ring->u.submit; in msm_ringbuffer_check_size() local
606 struct fd_pipe *pipe = submit->pipe; in msm_ringbuffer_check_size()
613 if (to_msm_submit(submit)->nr_bos > MAX_ARRAY_SIZE/2) { in msm_ringbuffer_check_size()
639 struct fd_submit *submit = msm_ring->u.submit; in msm_ringbuffer_destroy() local
646 slab_free_st(&to_msm_submit(submit)->ring_pool, msm_ring); in msm_ringbuffer_destroy()