Searched refs:boi (Results 1 – 4 of 4) sorted by relevance
41 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_bo_debug() local44 op, bo, bo->handle, boi->size, boi->cref); in radeon_bo_debug()58 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_bo_ref() local59 boi->cref++; in radeon_bo_ref()60 boi->bom->funcs->bo_ref(boi); in radeon_bo_ref()65 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_bo_unref() local69 boi->cref--; in radeon_bo_unref()70 return boi->bom->funcs->bo_unref(boi); in radeon_bo_unref()75 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_bo_map() local76 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()[all …]
61 static int bo_wait(struct radeon_bo_int *boi);124 static void bo_ref(struct radeon_bo_int *boi) in bo_ref() argument128 static struct radeon_bo *bo_unref(struct radeon_bo_int *boi) in bo_unref() argument130 struct radeon_bo_gem *bo_gem = (struct radeon_bo_gem*)boi; in bo_unref()133 if (boi->cref) { in bo_unref()134 return (struct radeon_bo *)boi; in bo_unref()137 drm_munmap(bo_gem->priv_ptr, boi->size); in bo_unref()144 args.handle = boi->handle; in bo_unref()145 drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_CLOSE, &args); in bo_unref()151 static int bo_map(struct radeon_bo_int *boi, int write) in bo_map() argument[all …]
173 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_cs_space_add_persistent_bo() local176 if (csi->bos[i].bo == boi && in radeon_cs_space_add_persistent_bo()183 csi->bos[i].bo = boi; in radeon_cs_space_add_persistent_bo()217 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_cs_space_check_with_bo() local223 temp_bo.bo = boi; in radeon_cs_space_check_with_bo()
181 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in cs_gem_write_reloc() local187 assert(boi->space_accounted); in cs_gem_write_reloc()262 csg->relocs_bo[csg->base.crelocs] = boi; in cs_gem_write_reloc()273 cs->relocs_total_size += boi->size; in cs_gem_write_reloc()