Searched refs:relocs_bo (Results 1 – 3 of 3) sorted by relevance
78 struct radeon_bo_int **relocs_bo; member149 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 …]
120 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()121 radeon_bo_reference(&csc->relocs_bo[i].bo, NULL); in radeon_cs_context_cleanup()143 FREE(csc->relocs_bo); in radeon_destroy_cs_context()197 buffers = csc->relocs_bo; in radeon_lookup_buffer()258 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()259 csc->relocs_bo = realloc(csc->relocs_bo, size); in radeon_lookup_or_add_real_buffer()268 csc->relocs_bo[csc->num_relocs].bo = NULL; in radeon_lookup_or_add_real_buffer()269 csc->relocs_bo[csc->num_relocs].u.real.priority_usage = 0; in radeon_lookup_or_add_real_buffer()270 radeon_bo_reference(&csc->relocs_bo[csc->num_relocs].bo, bo); in radeon_lookup_or_add_real_buffer()369 cs->csc->relocs_bo[index].u.real.priority_usage |= 1ull << priority; in radeon_drm_cs_add_buffer()[all …]
57 struct radeon_bo_item *relocs_bo; member