Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c148 for (i = 0; i < csc->num_slab_buffers; ++i) { in radeon_cs_context_cleanup()
155 csc->num_slab_buffers = 0; in radeon_cs_context_cleanup()
238 num_buffers = csc->num_slab_buffers; in radeon_lookup_buffer()
338 if (csc->num_slab_buffers >= csc->max_slab_buffers) { in radeon_lookup_or_add_slab_buffer()
355 idx = csc->num_slab_buffers++; in radeon_lookup_or_add_slab_buffer()
514 for (i = 0; i < csc->num_slab_buffers; i++) in radeon_drm_cs_emit_ioctl_oneshot()
624 if (pfence || cs->csc->num_slab_buffers) { in radeon_drm_cs_flush()
639 for (unsigned i = 0; i < cs->csc->num_slab_buffers; ++i) { in radeon_drm_cs_flush()
Dradeon_drm_cs.h65 unsigned num_slab_buffers; member
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c478 num_buffers = cs->num_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()
566 if (cs->num_slab_buffers >= cs->max_slab_buffers) { in amdgpu_lookup_or_add_slab_buffer()
583 idx = cs->num_slab_buffers; in amdgpu_lookup_or_add_slab_buffer()
589 cs->num_slab_buffers++; in amdgpu_lookup_or_add_slab_buffer()
926 for (i = 0; i < cs->num_slab_buffers; i++) { in amdgpu_cs_context_cleanup()
937 cs->num_slab_buffers = 0; in amdgpu_cs_context_cleanup()
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()
1673 for (i = 0; i < cs->num_slab_buffers; i++) in amdgpu_cs_submit_ib()
1772 amdgpu_inc_bo_num_active_ioctls(cur->num_slab_buffers, cur->slab_buffers); in amdgpu_cs_flush()
Damdgpu_cs.h100 unsigned num_slab_buffers; member