Home
last modified time | relevance | path

Searched refs:boi (Results 1 – 4 of 4) sorted by relevance

/external/libdrm/radeon/
Dradeon_bo.c41 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_bo_debug() local
44 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() local
59 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() local
69 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() local
76 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()
[all …]
Dradeon_bo_gem.c61 static int bo_wait(struct radeon_bo_int *boi);
124 static void bo_ref(struct radeon_bo_int *boi) in bo_ref() argument
128 static struct radeon_bo *bo_unref(struct radeon_bo_int *boi) in bo_unref() argument
130 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 …]
Dradeon_cs_space.c173 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in radeon_cs_space_add_persistent_bo() local
176 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() local
223 temp_bo.bo = boi; in radeon_cs_space_check_with_bo()
Dradeon_cs_gem.c181 struct radeon_bo_int *boi = (struct radeon_bo_int *)bo; in cs_gem_write_reloc() local
187 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()