Home
last modified time | relevance | path

Searched refs:radeon_bo (Results 1 – 25 of 49) sorted by relevance

12

/external/libdrm/radeon/
Dradeon_bo.h44 struct radeon_bo { struct
53 void radeon_bo_debug(struct radeon_bo *bo, const char *op); argument
55 struct radeon_bo *radeon_bo_open(struct radeon_bo_manager *bom,
62 void radeon_bo_ref(struct radeon_bo *bo);
63 struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo);
64 int radeon_bo_map(struct radeon_bo *bo, int write);
65 int radeon_bo_unmap(struct radeon_bo *bo);
66 int radeon_bo_wait(struct radeon_bo *bo);
67 int radeon_bo_is_busy(struct radeon_bo *bo, uint32_t *domain);
68 int radeon_bo_set_tiling(struct radeon_bo *bo, uint32_t tiling_flags, uint32_t pitch);
[all …]
Dradeon_bo.c39 drm_public void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug()
47 drm_public struct radeon_bo *
51 struct radeon_bo *bo; in radeon_bo_open()
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()
[all …]
Dradeon_bo_gem.h40 uint32_t radeon_gem_name_bo(struct radeon_bo *bo);
41 void *radeon_gem_get_reloc_in_cs(struct radeon_bo *bo);
42 int radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain);
43 int radeon_gem_get_kernel_name(struct radeon_bo *bo, uint32_t *name);
44 int radeon_gem_prime_share_bo(struct radeon_bo *bo, int *handle);
45 struct radeon_bo *radeon_gem_bo_open_prime(struct radeon_bo_manager *bom,
Dradeon_bo_gem.c63 static struct radeon_bo *bo_open(struct radeon_bo_manager *bom, in bo_open()
120 radeon_bo_ref((struct radeon_bo*)bo); in bo_open()
121 return (struct radeon_bo*)bo; in bo_open()
128 static struct radeon_bo *bo_unref(struct radeon_bo_int *boi) in bo_unref()
134 return (struct radeon_bo *)boi; in bo_unref()
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()
[all …]
Dradeon_cs.h42 struct radeon_bo *bo;
84 struct radeon_bo *bo,
97 struct radeon_bo *bo,
111 struct radeon_bo *bo,
DMakefile.sources5 radeon_bo.c \
12 radeon_bo.h \
Dradeon_cs_gem.c173 struct radeon_bo *bo, in cs_gem_write_reloc()
244 size = ((csg->nrelocs + 1) * sizeof(struct radeon_bo*)); in cs_gem_write_reloc()
395 radeon_bo_map((struct radeon_bo*)csg->relocs_bo[i], 0); in cs_gem_dump_bof()
397 radeon_bo_unmap((struct radeon_bo*)csg->relocs_bo[i]); in cs_gem_dump_bof()
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()
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()
Dradeon_bo_int.h25 struct radeon_bo *(*bo_open)(struct radeon_bo_manager *bom,
32 struct radeon_bo *(*bo_unref)(struct radeon_bo_int *bo);
Dradeon_cs_space.c56 if (radeon_bo_is_static((struct radeon_bo *)sc->bo)) { in radeon_cs_setup_bo()
169 radeon_cs_space_add_persistent_bo(struct radeon_cs *cs, struct radeon_bo *bo, in radeon_cs_space_add_persistent_bo()
213 radeon_cs_space_check_with_bo(struct radeon_cs *cs, struct radeon_bo *bo, in radeon_cs_space_check_with_bo()
244 radeon_bo_unref((struct radeon_bo *)csi->bos[i].bo); in radeon_cs_space_reset_bos()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common_context.h85 struct radeon_bo *bo;
90 struct radeon_bo *map_bo;
169 struct radeon_bo *bo;
203 struct radeon_bo *bo;
224 struct radeon_bo *bo;
240 struct radeon_bo *bo; /** Buffer object where vertex data is stored */
251 struct radeon_bo *bo;
293 struct radeon_bo *bo;
300 struct radeon_bo *elt_dma_bo; /** Buffer object that contains element indices */
307 struct radeon_bo *bo;
[all …]
Dradeon_buffer_objects.h33 struct radeon_bo;
41 struct radeon_bo *bo;
Dr200_blit.h36 struct radeon_bo *src_bo,
44 struct radeon_bo *dst_bo,
Dr200_blit.c102 struct radeon_bo *bo, in emit_tx_setup()
298 struct radeon_bo *bo, in emit_cb_setup()
359 struct radeon_bo *src_bo, in validate_buffers()
360 struct radeon_bo *dst_bo) in validate_buffers()
464 struct radeon_bo *src_bo, in r200_blit()
472 struct radeon_bo *dst_bo, in r200_blit()
Dradeon_screen.h110 struct radeon_bo *bo;
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common_context.h85 struct radeon_bo *bo;
90 struct radeon_bo *map_bo;
169 struct radeon_bo *bo;
203 struct radeon_bo *bo;
224 struct radeon_bo *bo;
240 struct radeon_bo *bo; /** Buffer object where vertex data is stored */
251 struct radeon_bo *bo;
293 struct radeon_bo *bo;
300 struct radeon_bo *elt_dma_bo; /** Buffer object that contains element indices */
307 struct radeon_bo *bo;
[all …]
Dradeon_blit.c96 struct radeon_bo *bo, in emit_tx_setup()
176 struct radeon_bo *bo, in emit_cb_setup()
234 struct radeon_bo *src_bo, in validate_buffers()
235 struct radeon_bo *dst_bo) in validate_buffers()
342 struct radeon_bo *src_bo, in r100_blit()
350 struct radeon_bo *dst_bo, in r100_blit()
Dradeon_buffer_objects.h33 struct radeon_bo;
41 struct radeon_bo *bo;
Dradeon_blit.h36 struct radeon_bo *src_bo,
44 struct radeon_bo *dst_bo,
Dradeon_screen.h110 struct radeon_bo *bo;
/external/libdrm/libkms/
Dradeon.c48 struct radeon_bo struct
82 struct radeon_bo *bo; in radeon_bo_create()
154 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_map()
190 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_unmap()
201 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_destroy()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.h46 struct radeon_bo **relocs_bo;
82 int radeon_get_reloc(struct radeon_cs_context *csc, struct radeon_bo *bo);
92 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs()
101 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs_for_write()
116 radeon_bo_is_referenced_by_any_cs(struct radeon_bo *bo) in radeon_bo_is_referenced_by_any_cs()
Dradeon_drm_bo.c97 static INLINE struct radeon_bo *radeon_bo(struct pb_buffer *bo) in radeon_bo() function
100 return (struct radeon_bo *)bo; in radeon_bo()
132 static struct radeon_bo *get_radeon_bo(struct pb_buffer *_buf) in get_radeon_bo()
134 struct radeon_bo *bo = NULL; in get_radeon_bo()
137 bo = radeon_bo(_buf); in get_radeon_bo()
144 bo = radeon_bo(base_buf); in get_radeon_bo()
152 struct radeon_bo *bo = get_radeon_bo(_buf); in radeon_bo_wait()
177 struct radeon_bo *bo = get_radeon_bo(_buf); in radeon_bo_is_busy()
366 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy()
398 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_bo_map()
[all …]
Dradeon_drm_bo.h47 struct radeon_bo { struct
76 void radeon_bo_reference(struct radeon_bo **dst, struct radeon_bo *src) in radeon_bo_reference() argument
Dradeon_drm_cs.c103 csc->relocs_bo = (struct radeon_bo**) in radeon_init_cs_context()
104 CALLOC(1, csc->nrelocs * sizeof(struct radeon_bo*)); in radeon_init_cs_context()
210 int radeon_get_reloc(struct radeon_cs_context *csc, struct radeon_bo *bo) in radeon_get_reloc()
248 struct radeon_bo *bo, in radeon_add_reloc()
286 size = csc->nrelocs * sizeof(struct radeon_bo*); in radeon_add_reloc()
287 csc->relocs_bo = (struct radeon_bo**)realloc(csc->relocs_bo, size); in radeon_add_reloc()
320 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_drm_cs_add_reloc()
383 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_drm_cs_write_reloc()
538 struct radeon_bo *bo = (struct radeon_bo*)_buf; in radeon_bo_is_referenced()
/external/drm_gralloc/
Dgralloc_drm_radeon.c77 struct radeon_bo *rbo;
185 static struct radeon_bo *radeon_alloc(struct radeon_info *info, in radeon_alloc()
188 struct radeon_bo *rbo; in radeon_alloc()
247 struct radeon_bo *rbo) in radeon_zero()

12