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 …]
137 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()138 radeon_bo_reference(&csc->relocs_bo[i].bo, NULL); in radeon_cs_context_cleanup()160 FREE(csc->relocs_bo); in radeon_destroy_cs_context()215 buffers = csc->relocs_bo; in radeon_lookup_buffer()276 size = csc->max_relocs * sizeof(csc->relocs_bo[0]); in radeon_lookup_or_add_real_buffer()277 csc->relocs_bo = realloc(csc->relocs_bo, size); in radeon_lookup_or_add_real_buffer()286 csc->relocs_bo[csc->num_relocs].bo = NULL; in radeon_lookup_or_add_real_buffer()287 csc->relocs_bo[csc->num_relocs].u.real.priority_usage = 0; in radeon_lookup_or_add_real_buffer()288 radeon_bo_reference(&csc->relocs_bo[csc->num_relocs].bo, bo); in radeon_lookup_or_add_real_buffer()387 cs->csc->relocs_bo[index].u.real.priority_usage |= 1u << priority; in radeon_drm_cs_add_buffer()[all …]
62 struct radeon_bo_item *relocs_bo; member