• Home
  • Raw
  • Download

Lines Matching refs:submit

115 			struct fd_submit *submit;  member
132 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() argument
143 if (unlikely((idx >= submit->nr_submit_bos) || in append_bo()
144 (submit->submit_bos[idx].handle != bo->handle))) { in append_bo()
148 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in append_bo()
153 idx = APPEND(submit, submit_bos); in append_bo()
154 idx = APPEND(submit, bos); in append_bo()
156 submit->submit_bos[idx].flags = bo->flags & in append_bo()
158 submit->submit_bos[idx].handle = bo->handle; in append_bo()
159 submit->submit_bos[idx].presumed = 0; in append_bo()
161 submit->bos[idx] = fd_bo_ref(bo); in append_bo()
163 _mesa_hash_table_insert_pre_hashed(submit->bo_table, hash, bo, in append_bo()
184 msm_submit_suballoc_ring_bo(struct fd_submit *submit, in msm_submit_suballoc_ring_bo() argument
187 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_suballoc_ring_bo()
208 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, 0x8000); in msm_submit_suballoc_ring_bo()
224 msm_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in msm_submit_new_ringbuffer() argument
227 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_new_ringbuffer()
232 msm_ring->u.submit = submit; in msm_submit_new_ringbuffer()
240 msm_submit_suballoc_ring_bo(submit, msm_ring, size); in msm_submit_new_ringbuffer()
246 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, size); in msm_submit_new_ringbuffer()
261 handle_stateobj_relocs(struct msm_submit *submit, struct msm_ringbuffer *ring) in handle_stateobj_relocs() argument
273 relocs[i].reloc_idx = append_bo(submit, bo); in handle_stateobj_relocs()
280 msm_submit_flush(struct fd_submit *submit, int in_fence_fd, in msm_submit_flush() argument
283 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_flush()
284 struct msm_pipe *msm_pipe = to_msm_pipe(submit->pipe); in msm_submit_flush()
376 ret = drmCommandWriteRead(submit->pipe->dev->fd, DRM_MSM_GEM_SUBMIT, in msm_submit_flush()
403 msm_submit_destroy(struct fd_submit *submit) in msm_submit_destroy() argument
405 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_destroy()
438 struct fd_submit *submit; in msm_submit_new() local
447 submit = &msm_submit->base; in msm_submit_new()
448 submit->pipe = pipe; in msm_submit_new()
449 submit->funcs = &submit_funcs; in msm_submit_new()
451 return submit; in msm_submit_new()
479 struct fd_pipe *pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_grow()
516 to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc()
520 pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_emit_reloc()
553 append_stateobj_rings(struct msm_submit *submit, struct fd_ringbuffer *target) in append_stateobj_rings() argument
562 append_ring(submit->ring_set, ring); in append_stateobj_rings()
565 append_stateobj_rings(submit, ring); in append_stateobj_rings()
598 struct msm_submit *msm_submit = to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc_ring()
606 struct msm_submit *msm_submit = to_msm_submit(msm_ring->u.submit); in msm_ringbuffer_emit_reloc_ring()
640 struct fd_submit *submit = msm_ring->u.submit; in msm_ringbuffer_destroy() local
647 slab_free_st(&to_msm_submit(submit)->ring_pool, msm_ring); in msm_ringbuffer_destroy()