Home
last modified time | relevance | path

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

/external/libdrm/radeon/
Dradeon_cs_gem.c81 struct radeon_bo_int **relocs_bo; member
152 csg->relocs_bo = (struct radeon_bo_int**)calloc(1, in cs_gem_create()
154 if (csg->relocs_bo == NULL) { in cs_gem_create()
161 free(csg->relocs_bo); in cs_gem_create()
248 tmp = (uint32_t*)realloc(csg->relocs_bo, size); in cs_gem_write_reloc()
252 csg->relocs_bo = (struct radeon_bo_int **)tmp; in cs_gem_write_reloc()
262 csg->relocs_bo[csg->base.crelocs] = boi; in cs_gem_write_reloc()
384 size = bof_int32(csg->relocs_bo[i]->size); in cs_gem_dump_bof()
391 handle = bof_int32(csg->relocs_bo[i]->handle); in cs_gem_dump_bof()
398 radeon_bo_map((struct radeon_bo*)csg->relocs_bo[i], 0); in cs_gem_dump_bof()
[all …]
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c129 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()
130 radeon_bo_reference(&csc->relocs_bo[i].bo, NULL); in radeon_cs_context_cleanup()
152 FREE(csc->relocs_bo); in radeon_destroy_cs_context()
206 buffers = csc->relocs_bo; in radeon_lookup_buffer()
267 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()
268 csc->relocs_bo = realloc(csc->relocs_bo, size); in radeon_lookup_or_add_real_buffer()
277 csc->relocs_bo[csc->num_relocs].bo = NULL; in radeon_lookup_or_add_real_buffer()
278 csc->relocs_bo[csc->num_relocs].u.real.priority_usage = 0; in radeon_lookup_or_add_real_buffer()
279 radeon_bo_reference(&csc->relocs_bo[csc->num_relocs].bo, bo); in radeon_lookup_or_add_real_buffer()
370 cs->csc->relocs_bo[index].u.real.priority_usage |= 1llu << priority; in radeon_drm_cs_add_buffer()
[all …]
Dradeon_drm_cs.h57 struct radeon_bo_item *relocs_bo; member