Home
last modified time | relevance | path

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

/external/libdrm/radeon/
Dradeon_cs_gem.c78 struct radeon_bo_int **relocs_bo; member
149 csg->relocs_bo = (struct radeon_bo_int**)calloc(1, in cs_gem_create()
151 if (csg->relocs_bo == NULL) { in cs_gem_create()
158 free(csg->relocs_bo); in cs_gem_create()
245 tmp = (uint32_t*)realloc(csg->relocs_bo, size); in cs_gem_write_reloc()
249 csg->relocs_bo = (struct radeon_bo_int **)tmp; in cs_gem_write_reloc()
259 csg->relocs_bo[csg->base.crelocs] = boi; in cs_gem_write_reloc()
381 size = bof_int32(csg->relocs_bo[i]->size); in cs_gem_dump_bof()
388 handle = bof_int32(csg->relocs_bo[i]->handle); in cs_gem_dump_bof()
395 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.c103 csc->relocs_bo = (struct radeon_bo**) in radeon_init_cs_context()
105 if (!csc->relocs_bo) { in radeon_init_cs_context()
112 FREE(csc->relocs_bo); in radeon_init_cs_context()
139 p_atomic_dec(&csc->relocs_bo[i]->num_cs_references); in radeon_cs_context_cleanup()
140 radeon_bo_reference(&csc->relocs_bo[i], NULL); in radeon_cs_context_cleanup()
155 FREE(csc->relocs_bo); in radeon_destroy_cs_context()
287 csc->relocs_bo = (struct radeon_bo**)realloc(csc->relocs_bo, size); in radeon_add_reloc()
296 csc->relocs_bo[csc->crelocs] = NULL; in radeon_add_reloc()
297 radeon_bo_reference(&csc->relocs_bo[csc->crelocs], bo); in radeon_add_reloc()
349 p_atomic_dec(&cs->csc->relocs_bo[i]->num_cs_references); in radeon_drm_cs_validate()
[all …]
Dradeon_drm_cs.h46 struct radeon_bo **relocs_bo; member