Home
last modified time | relevance | path

Searched refs:real_buffers (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c380 buffers = cs->real_buffers; in amdgpu_lookup_buffer()
433 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
435 FREE(cs->real_buffers); in amdgpu_do_add_real_buffer()
438 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()
442 buffer = &cs->real_buffers[idx]; in amdgpu_do_add_real_buffer()
622 buffer = &cs->real_buffers[index]; in amdgpu_cs_add_buffer()
829 p_atomic_dec(&cs->real_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
830 amdgpu_winsys_bo_reference(&cs->real_buffers[i].bo, NULL); in amdgpu_cs_context_cleanup()
857 FREE(cs->real_buffers); in amdgpu_destroy_cs_context()
1014 list[i].bo_size = cs->real_buffers[i].bo->base.size; in amdgpu_cs_get_buffer_list()
[all …]
Damdgpu_cs.h82 struct amdgpu_cs_buffer *real_buffers; member
242 buffer = bo->bo ? &cs->csc->real_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage()