Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c484 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local
486 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
488 if (!new_buffers) { in amdgpu_do_add_real_buffer()
490 FREE(new_buffers); in amdgpu_do_add_real_buffer()
494 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
499 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()
558 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local
560 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
561 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()
562 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()
[all …]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c333 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local
335 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()
336 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()
337 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()
343 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()