• Home
  • Raw
  • Download

Lines Matching refs:relocs_bo

78     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()
396 blob = bof_blob(csg->relocs_bo[i]->size, csg->relocs_bo[i]->ptr); in cs_gem_dump_bof()
397 radeon_bo_unmap((struct radeon_bo*)csg->relocs_bo[i]); in cs_gem_dump_bof()
448 csg->relocs_bo[i]->space_accounted = 0; in cs_gem_emit()
450 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
451 radeon_bo_unref((struct radeon_bo *)csg->relocs_bo[i]); in cs_gem_emit()
452 csg->relocs_bo[i] = NULL; in cs_gem_emit()
466 free(csg->relocs_bo); in cs_gem_destroy()
478 if (csg->relocs_bo) { in cs_gem_erase()
480 if (csg->relocs_bo[i]) { in cs_gem_erase()
482 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
483 radeon_bo_unref((struct radeon_bo *)csg->relocs_bo[i]); in cs_gem_erase()
484 csg->relocs_bo[i] = NULL; in cs_gem_erase()