Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c464 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local
466 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
468 if (!new_buffers) { in amdgpu_do_add_real_buffer()
470 FREE(new_buffers); in amdgpu_do_add_real_buffer()
474 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()
479 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()
536 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local
538 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()
539 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()
540 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()
[all …]
/external/igt-gpu-tools/tests/
Ddrm_import_export.c51 static void new_buffers(void) in new_buffers() function
101 new_buffers(); in test_surfaces()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c322 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local
324 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()
325 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()
326 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()
332 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()