Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c423 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local
425 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
427 if (!new_buffers) { in amdgpu_do_add_real_buffer()
429 FREE(new_buffers); in amdgpu_do_add_real_buffer()
433 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
438 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()
495 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local
497 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
498 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()
499 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()
[all …]
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c304 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local
306 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()
307 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()
308 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()
314 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()