Home
last modified time | relevance | path

Searched refs:slab_buffers (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c124 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
125 radeon_bo_reference(&csc->slab_buffers[i].bo, NULL); in radeon_cs_context_cleanup()
142 FREE(csc->slab_buffers); in radeon_destroy_cs_context()
200 buffers = csc->slab_buffers; in radeon_lookup_buffer()
305 REALLOC(csc->slab_buffers, in radeon_lookup_or_add_slab_buffer()
314 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()
319 item = &csc->slab_buffers[idx]; in radeon_lookup_or_add_slab_buffer()
359 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_drm_cs_add_buffer()
474 p_atomic_dec(&csc->slab_buffers[i].bo->num_active_ioctls); in radeon_drm_cs_emit_ioctl_oneshot()
601 struct radeon_bo *bo = cs->csc->slab_buffers[i].bo; in radeon_drm_cs_flush()
[all …]
Dradeon_drm_cs.h62 struct radeon_bo_item *slab_buffers; member
123 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_bo_is_referenced_by_cs_for_write()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h90 struct amdgpu_cs_buffer *slab_buffers; member
244 &cs->csc->slab_buffers[index]; in amdgpu_bo_is_referenced_by_cs_with_usage()
Damdgpu_cs.c383 buffers = cs->slab_buffers; in amdgpu_lookup_buffer()
497 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
506 cs->slab_buffers = new_buffers; in amdgpu_lookup_or_add_slab_buffer()
510 buffer = &cs->slab_buffers[idx]; in amdgpu_lookup_or_add_slab_buffer()
611 buffer = &cs->slab_buffers[index]; in amdgpu_cs_add_buffer()
833 p_atomic_dec(&cs->slab_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
834 amdgpu_winsys_bo_reference(&cs->slab_buffers[i].bo, NULL); in amdgpu_cs_context_cleanup()
859 FREE(cs->slab_buffers); in amdgpu_destroy_cs_context()
1167 amdgpu_add_fence_dependencies_bo_list(acs, cs->fence, cs->num_slab_buffers, cs->slab_buffers); in amdgpu_add_fence_dependencies_bo_lists()
1409 p_atomic_dec(&cs->slab_buffers[i].bo->num_active_ioctls); in amdgpu_cs_submit_ib()