Home
last modified time | relevance | path

Searched defs:bo (Results 1 – 25 of 172) sorted by relevance

1234567

/external/libdrm/radeon/
Dradeon_bo.c39 drm_public void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug()
51 struct radeon_bo *bo; in radeon_bo_open() local
56 drm_public void radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref()
63 drm_public struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) in radeon_bo_unref()
73 drm_public int radeon_bo_map(struct radeon_bo *bo, int write) in radeon_bo_map()
79 drm_public int radeon_bo_unmap(struct radeon_bo *bo) in radeon_bo_unmap()
85 drm_public int radeon_bo_wait(struct radeon_bo *bo) in radeon_bo_wait()
93 drm_public int radeon_bo_is_busy(struct radeon_bo *bo, uint32_t *domain) in radeon_bo_is_busy()
100 radeon_bo_set_tiling(struct radeon_bo *bo, in radeon_bo_set_tiling()
108 radeon_bo_get_tiling(struct radeon_bo *bo, in radeon_bo_get_tiling()
[all …]
Dradeon_bo_gem.c70 struct radeon_bo_gem *bo; in bo_open() local
310 radeon_gem_name_bo(struct radeon_bo *bo) in radeon_gem_name_bo()
317 radeon_gem_get_reloc_in_cs(struct radeon_bo *bo) in radeon_gem_get_reloc_in_cs()
324 radeon_gem_get_kernel_name(struct radeon_bo *bo, uint32_t *name) in radeon_gem_get_kernel_name()
346 radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain) in radeon_gem_set_domain()
363 drm_public int radeon_gem_prime_share_bo(struct radeon_bo *bo, int *handle) in radeon_gem_prime_share_bo()
375 struct radeon_bo_gem *bo; in radeon_gem_bo_open_prime() local
/external/libdrm/freedreno/
Dfreedreno_bo.c41 static void set_name(struct fd_bo *bo, uint32_t name) in set_name()
51 struct fd_bo *bo = NULL; in lookup_bo() local
63 struct fd_bo *bo; in bo_from_handle() local
93 struct fd_bo *bo; in fd_cleanup_bo_cache() local
127 static int is_idle(struct fd_bo *bo) in is_idle()
138 struct fd_bo *bo = NULL; in find_in_bucket() local
173 struct fd_bo *bo = NULL; in fd_bo_new() local
207 struct fd_bo *bo = NULL; in fd_bo_from_handle() local
247 struct fd_bo *bo; in fd_bo_from_name() local
275 drm_public struct fd_bo * fd_bo_ref(struct fd_bo *bo) in fd_bo_ref()
[all …]
/external/libdrm/intel/
Dintel_bufmgr.c88 drm_intel_bo_reference(drm_intel_bo *bo) in drm_intel_bo_reference()
94 drm_intel_bo_unreference(drm_intel_bo *bo) in drm_intel_bo_unreference()
115 drm_intel_bo_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_subdata()
122 drm_intel_bo_get_subdata(drm_intel_bo *bo, unsigned long offset, in drm_intel_bo_get_subdata()
141 drm_intel_bo_wait_rendering(drm_intel_bo *bo) in drm_intel_bo_wait_rendering()
153 drm_intel_bo_exec(drm_intel_bo *bo, int used, in drm_intel_bo_exec()
160 drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used, in drm_intel_bo_mrb_exec()
192 drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name) in drm_intel_bo_flink()
201 drm_intel_bo_emit_reloc(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc()
212 drm_intel_bo_emit_reloc_fence(drm_intel_bo *bo, uint32_t offset, in drm_intel_bo_emit_reloc_fence()
[all …]
Dintel_bufmgr_gem.c143 drm_intel_bo *bo; member
148 drm_intel_bo bo; member
387 drm_intel_bo *bo = bufmgr_gem->exec_bos[i]; in drm_intel_gem_dump_validation_list() local
415 drm_intel_gem_bo_reference(drm_intel_bo *bo) in drm_intel_gem_bo_reference()
431 drm_intel_add_validate_buffer(drm_intel_bo *bo) in drm_intel_add_validate_buffer()
469 drm_intel_add_validate_buffer2(drm_intel_bo *bo, int need_fence) in drm_intel_add_validate_buffer2()
557 drm_intel_setup_reloc_list(drm_intel_bo *bo) in drm_intel_setup_reloc_list()
586 drm_intel_gem_bo_busy(drm_intel_bo *bo) in drm_intel_gem_bo_busy()
625 drm_intel_gem_bo_madvise(drm_intel_bo *bo, int madv) in drm_intel_gem_bo_madvise()
1044 drm_intel_gem_bo_free(drm_intel_bo *bo) in drm_intel_gem_bo_free()
[all …]
Dintel_bufmgr_fake.c114 drm_intel_bo *bo; member
191 drm_intel_bo bo; member
427 alloc_block(drm_intel_bo *bo) in alloc_block()
499 alloc_backing_store(drm_intel_bo *bo) in alloc_backing_store()
515 free_backing_store(drm_intel_bo *bo) in free_backing_store()
527 set_dirty(drm_intel_bo *bo) in set_dirty()
662 evict_and_alloc_block(drm_intel_bo *bo) in evict_and_alloc_block()
748 drm_intel_fake_bo_wait_rendering_locked(drm_intel_bo *bo) in drm_intel_fake_bo_wait_rendering_locked()
761 drm_intel_fake_bo_wait_rendering(drm_intel_bo *bo) in drm_intel_fake_bo_wait_rendering()
905 drm_intel_fake_bo_reference(drm_intel_bo *bo) in drm_intel_fake_bo_reference()
[all …]
/external/libdrm/tegra/
Dtegra.c42 static void drm_tegra_bo_free(struct drm_tegra_bo *bo) in drm_tegra_bo_free()
115 struct drm_tegra_bo *bo; in drm_tegra_bo_new() local
153 struct drm_tegra_bo *bo; in drm_tegra_bo_wrap() local
177 struct drm_tegra_bo *bo; in drm_tegra_bo_name_ref() local
207 int drm_tegra_bo_name_get(struct drm_tegra_bo *bo, uint32_t *name) in drm_tegra_bo_name_get()
231 struct drm_tegra_bo *drm_tegra_bo_ref(struct drm_tegra_bo *bo) in drm_tegra_bo_ref()
240 void drm_tegra_bo_unref(struct drm_tegra_bo *bo) in drm_tegra_bo_unref()
247 int drm_tegra_bo_get_handle(struct drm_tegra_bo *bo, uint32_t *handle) in drm_tegra_bo_get_handle()
258 int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr) in drm_tegra_bo_map()
291 int drm_tegra_bo_unmap(struct drm_tegra_bo *bo) in drm_tegra_bo_unmap()
[all …]
/external/libdrm/tests/radeon/
Drbo.c39 struct rbo *bo; in rbo() local
94 int rbo_map(struct rbo *bo) in rbo_map()
124 void rbo_unmap(struct rbo *bo) in rbo_unmap()
133 struct rbo *rbo_incref(struct rbo *bo) in rbo_incref()
139 struct rbo *rbo_decref(struct rbo *bo) in rbo_decref()
158 int rbo_wait(struct rbo *bo) in rbo_wait()
/external/libdrm/rockchip/
Drockchip_drm.c94 struct rockchip_bo *bo; in rockchip_bo_create() local
135 struct rockchip_bo *bo; in rockchip_bo_from_handle() local
162 void rockchip_bo_destroy(struct rockchip_bo *bo) in rockchip_bo_destroy()
197 struct rockchip_bo *bo; in rockchip_bo_from_name() local
237 int rockchip_bo_get_name(struct rockchip_bo *bo, uint32_t *name) in rockchip_bo_get_name()
260 uint32_t rockchip_bo_handle(struct rockchip_bo *bo) in rockchip_bo_handle()
273 void *rockchip_bo_map(struct rockchip_bo *bo) in rockchip_bo_map()
/external/mesa3d/src/gbm/main/
Dgbm.c177 gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width()
188 gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height()
202 gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride()
215 gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format()
229 gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle()
248 gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count) in gbm_bo_write()
259 gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device()
272 gbm_bo_set_user_data(struct gbm_bo *bo, void *data, in gbm_bo_set_user_data()
288 gbm_bo_get_user_data(struct gbm_bo *bo) in gbm_bo_get_user_data()
300 gbm_bo_destroy(struct gbm_bo *bo) in gbm_bo_destroy()
[all …]
/external/libdrm/freedreno/kgsl/
Dkgsl_bo.c50 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() local
74 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset) in kgsl_bo_offset()
84 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep()
115 static void kgsl_bo_cpu_fini(struct fd_bo *bo) in kgsl_bo_cpu_fini()
119 static void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy()
162 struct fd_bo *bo; in kgsl_bo_from_handle() local
181 struct fd_bo *bo; in fd_bo_from_fbdev() local
223 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_gpuaddr() local
272 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_set_timestamp() local
290 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_get_timestamp() local
/external/libdrm/omap/
Domap_drm.c167 struct omap_bo *bo = NULL; in lookup_bo() local
179 struct omap_bo *bo = calloc(sizeof(*bo), 1); in bo_from_handle() local
199 struct omap_bo *bo = NULL; in omap_bo_new_impl() local
261 drm_public struct omap_bo *omap_bo_ref(struct omap_bo *bo) in omap_bo_ref()
268 static int get_buffer_info(struct omap_bo *bo) in get_buffer_info()
290 struct omap_bo *bo = NULL; in omap_bo_from_name() local
324 struct omap_bo *bo = NULL; in omap_bo_from_dmabuf() local
353 drm_public void omap_bo_del(struct omap_bo *bo) in omap_bo_del()
386 drm_public int omap_bo_get_name(struct omap_bo *bo, uint32_t *name) in omap_bo_get_name()
407 drm_public uint32_t omap_bo_handle(struct omap_bo *bo) in omap_bo_handle()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_bo.c37 struct fd_bo *bo = &msm_bo->base; in bo_allocate() local
61 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset()
71 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep()
83 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini()
92 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy()
131 struct fd_bo *bo; in msm_bo_from_handle() local
/external/drm_gralloc/
Dgralloc_drm.cpp165 struct gralloc_drm_bo_t *bo; in validate_handle() local
205 struct gralloc_drm_bo_t *bo; in gralloc_drm_handle_unregister() local
249 struct gralloc_drm_bo_t *bo; in gralloc_drm_bo_create() local
277 static void gralloc_drm_bo_destroy(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_destroy()
299 void gralloc_drm_bo_decref(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_decref()
316 buffer_handle_t gralloc_drm_bo_get_handle(struct gralloc_drm_bo_t *bo, int *stride) in gralloc_drm_bo_get_handle()
330 struct gralloc_drm_bo_t *bo = handle->data; in gralloc_drm_resolve_format() local
342 int gralloc_drm_bo_lock(struct gralloc_drm_bo_t *bo, in gralloc_drm_bo_lock()
385 void gralloc_drm_bo_unlock(struct gralloc_drm_bo_t *bo) in gralloc_drm_bo_unlock()
Dgralloc_drm_rockchip.c24 struct rockchip_bo *bo; member
122 struct gralloc_drm_bo_t *bo) in drm_gem_rockchip_free()
137 struct gralloc_drm_bo_t *bo, int x, int y, int w, int h, in drm_gem_rockchip_map()
154 struct gralloc_drm_bo_t *bo) in drm_gem_rockchip_unmap()
/external/libdrm/tests/planetest/
Dbo.c16 void fill_bo(struct sp_bo *bo, uint8_t a, uint8_t r, uint8_t g, uint8_t b) in fill_bo()
21 void draw_rect(struct sp_bo *bo, uint32_t x, uint32_t y, uint32_t width, in draw_rect()
54 static int add_fb_sp_bo(struct sp_bo *bo, uint32_t format) in add_fb_sp_bo()
73 static int map_sp_bo(struct sp_bo *bo) in map_sp_bo()
102 struct sp_bo *bo; in create_sp_bo() local
150 void free_sp_bo(struct sp_bo *bo) in free_sp_bo()
/external/libdrm/exynos/
Dexynos_drm.c94 struct exynos_bo *bo; in exynos_bo_create() local
171 drm_public void exynos_bo_destroy(struct exynos_bo *bo) in exynos_bo_destroy()
206 struct exynos_bo *bo; in exynos_bo_from_name() local
246 drm_public int exynos_bo_get_name(struct exynos_bo *bo, uint32_t *name) in exynos_bo_get_name()
269 drm_public uint32_t exynos_bo_handle(struct exynos_bo *bo) in exynos_bo_handle()
282 drm_public void *exynos_bo_map(struct exynos_bo *bo) in exynos_bo_map()
/external/libdrm/libkms/
Dapi.c101 int kms_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in kms_bo_get_prop()
117 int kms_bo_map(struct kms_bo *bo, void **out) in kms_bo_map()
122 int kms_bo_unmap(struct kms_bo *bo) in kms_bo_unmap()
127 int kms_bo_destroy(struct kms_bo **bo) in kms_bo_destroy()
Ddumb.c76 struct dumb_bo *bo; in dumb_bo_create() local
121 dumb_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in dumb_bo_get_prop()
132 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_map() local
164 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_unmap() local
172 struct dumb_bo *bo = (struct dumb_bo *)_bo; in dumb_bo_destroy() local
Dexynos.c64 struct exynos_bo *bo; in exynos_bo_create() local
115 exynos_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in exynos_bo_get_prop()
126 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_map() local
158 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_unmap() local
166 struct exynos_bo *bo = (struct exynos_bo *)_bo; in exynos_bo_destroy() local
Dnouveau.c80 struct nouveau_bo *bo; in nouveau_bo_create() local
138 nouveau_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in nouveau_bo_get_prop()
149 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_map() local
172 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_unmap() local
180 struct nouveau_bo *bo = (struct nouveau_bo *)_bo; in nouveau_bo_destroy() local
Dvmwgfx.c75 struct vmwgfx_bo *bo; in vmwgfx_bo_create() local
129 vmwgfx_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in vmwgfx_bo_get_prop()
140 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_map() local
163 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_unmap() local
171 struct vmwgfx_bo *bo = (struct vmwgfx_bo *)_bo; in vmwgfx_bo_destroy() local
Dradeon.c82 struct radeon_bo *bo; in radeon_bo_create() local
143 radeon_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in radeon_bo_get_prop()
154 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_map() local
190 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_unmap() local
201 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_destroy() local
Dintel.c79 struct intel_bo *bo; in intel_bo_create() local
147 intel_bo_get_prop(struct kms_bo *bo, unsigned key, unsigned *out) in intel_bo_get_prop()
158 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_map() local
190 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_unmap() local
198 struct intel_bo *bo = (struct intel_bo *)_bo; in intel_bo_destroy() local
/external/libdrm/nouveau/
Dpushbuf.c62 struct nouveau_bo *bo; member
83 pushbuf_kref_fits(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref_fits()
151 pushbuf_kref(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_kref()
223 pushbuf_krel(struct nouveau_pushbuf *push, struct nouveau_bo *bo, in pushbuf_krel()
270 struct nouveau_bo *bo; in pushbuf_dump() local
317 struct nouveau_bo *bo; in pushbuf_submit() local
398 struct nouveau_bo *bo; in pushbuf_flush() local
442 struct nouveau_bo *bo = (void *)(unsigned long)kref->user_priv; in pushbuf_refn_fail() local
614 struct nouveau_bo *bo = (void *)priv; in nouveau_pushbuf_del() local
644 struct nouveau_bo *bo = NULL; in nouveau_pushbuf_space() local
[all …]

1234567