Home
last modified time | relevance | path

Searched refs:msm_ring (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c122 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in current_cmd() local
123 assert(!LIST_IS_EMPTY(&msm_ring->cmd_list)); in current_cmd()
124 return LIST_LAST_ENTRY(&msm_ring->cmd_list, struct msm_cmd, list); in current_cmd()
139 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in ring_cmd_new() local
175 msm_ring->offset = 0; in ring_cmd_new()
178 msm_ring->offset = suballoc_offset; in ring_cmd_new()
191 list_addtail(&cmd->list, &msm_ring->cmd_list); in ring_cmd_new()
192 msm_ring->cmd_count++; in ring_cmd_new()
203 struct msm_ringbuffer *msm_ring = to_msm_ringbuffer(ring); in append_bo() local
206 idx = APPEND(&msm_ring->submit, bos); in append_bo()
[all …]
/external/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer.c127 struct msm_ringbuffer *msm_ring,
185 struct msm_ringbuffer *msm_ring, uint32_t size) in msm_submit_suballoc_ring_bo() argument
208 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, 0x8000); in msm_submit_suballoc_ring_bo()
209 msm_ring->offset = 0; in msm_submit_suballoc_ring_bo()
211 msm_ring->ring_bo = fd_bo_ref(suballoc_bo); in msm_submit_suballoc_ring_bo()
212 msm_ring->offset = suballoc_offset; in msm_submit_suballoc_ring_bo()
217 msm_submit->suballoc_ring = fd_ringbuffer_ref(&msm_ring->base); in msm_submit_suballoc_ring_bo()
228 struct msm_ringbuffer *msm_ring; in msm_submit_new_ringbuffer() local
230 msm_ring = slab_alloc_st(&msm_submit->ring_pool); in msm_submit_new_ringbuffer()
232 msm_ring->u.submit = submit; in msm_submit_new_ringbuffer()
[all …]
Dmsm_ringbuffer_sp.c104 struct msm_ringbuffer_sp *msm_ring,
150 struct msm_ringbuffer_sp *msm_ring, uint32_t size) in msm_submit_suballoc_ring_bo() argument
173 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, 0x8000); in msm_submit_suballoc_ring_bo()
174 msm_ring->offset = 0; in msm_submit_suballoc_ring_bo()
176 msm_ring->ring_bo = fd_bo_ref(suballoc_bo); in msm_submit_suballoc_ring_bo()
177 msm_ring->offset = suballoc_offset; in msm_submit_suballoc_ring_bo()
182 msm_submit->suballoc_ring = fd_ringbuffer_ref(&msm_ring->base); in msm_submit_suballoc_ring_bo()
193 struct msm_ringbuffer_sp *msm_ring; in msm_submit_sp_new_ringbuffer() local
195 msm_ring = slab_alloc(&msm_submit->ring_pool); in msm_submit_sp_new_ringbuffer()
197 msm_ring->u.submit = submit; in msm_submit_sp_new_ringbuffer()
[all …]