Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c149 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()
150 radeon_ws_bo_reference(&csc->slab_buffers[i].bo, NULL); in radeon_cs_context_cleanup()
167 FREE(csc->slab_buffers); in radeon_destroy_cs_context()
237 buffers = csc->slab_buffers; in radeon_lookup_buffer()
342 REALLOC(csc->slab_buffers, in radeon_lookup_or_add_slab_buffer()
351 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()
356 item = &csc->slab_buffers[idx]; in radeon_lookup_or_add_slab_buffer()
395 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_drm_cs_add_buffer()
515 p_atomic_dec(&csc->slab_buffers[i].bo->num_active_ioctls); in radeon_drm_cs_emit_ioctl_oneshot()
640 struct radeon_bo *bo = cs->csc->slab_buffers[i].bo; in radeon_drm_cs_flush()
[all …]
Dradeon_drm_cs.h67 struct radeon_bo_item *slab_buffers; member
127 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_bo_is_referenced_by_cs_for_write()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h102 struct amdgpu_cs_buffer *slab_buffers; member
252 &cs->csc->slab_buffers[index]; in amdgpu_bo_is_referenced_by_cs_with_usage()
Damdgpu_cs.c477 buffers = cs->slab_buffers; in amdgpu_lookup_buffer_any_type()
555 int idx = amdgpu_lookup_buffer(cs, bo, cs->slab_buffers, cs->num_slab_buffers); in amdgpu_lookup_or_add_slab_buffer()
571 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
580 cs->slab_buffers = new_buffers; in amdgpu_lookup_or_add_slab_buffer()
584 buffer = &cs->slab_buffers[idx]; in amdgpu_lookup_or_add_slab_buffer()
680 buffer = &cs->slab_buffers[index]; in amdgpu_cs_add_buffer()
927 amdgpu_winsys_bo_reference(ws, &cs->slab_buffers[i].bo, NULL); in amdgpu_cs_context_cleanup()
947 FREE(cs->slab_buffers); in amdgpu_destroy_cs_context()
1359 … amdgpu_add_fence_dependencies_bo_list(acs, cs, cs->fence, cs->num_slab_buffers, cs->slab_buffers); in amdgpu_add_fence_dependencies_bo_lists()
1674 p_atomic_dec(&cs->slab_buffers[i].bo->num_active_ioctls); in amdgpu_cs_submit_ib()
[all …]