Home
last modified time | relevance | path

Searched refs:radeon_bo (Results 1 – 25 of 48) 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 void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug()
47 struct radeon_bo *
51 struct radeon_bo *bo; in radeon_bo_open()
56 void radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref()
63 struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) in radeon_bo_unref()
73 int radeon_bo_map(struct radeon_bo *bo, int write) in radeon_bo_map()
79 int radeon_bo_unmap(struct radeon_bo *bo) in radeon_bo_unmap()
85 int radeon_bo_wait(struct radeon_bo *bo) in radeon_bo_wait()
93 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()
311 radeon_gem_name_bo(struct radeon_bo *bo) in radeon_gem_name_bo()
318 radeon_gem_get_reloc_in_cs(struct radeon_bo *bo) in radeon_gem_get_reloc_in_cs()
325 radeon_gem_get_kernel_name(struct radeon_bo *bo, uint32_t *name) in radeon_gem_get_kernel_name()
347 radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain) in radeon_gem_set_domain()
364 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 \
10 radeon_bo.h \
Dradeon_cs_gem.c176 struct radeon_bo *bo, in cs_gem_write_reloc()
247 size = ((csg->nrelocs + 1) * sizeof(struct radeon_bo*)); in cs_gem_write_reloc()
398 radeon_bo_map((struct radeon_bo*)csg->relocs_bo[i], 0); in cs_gem_dump_bof()
400 radeon_bo_unmap((struct radeon_bo*)csg->relocs_bo[i]); in cs_gem_dump_bof()
453 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
454 radeon_bo_unref((struct radeon_bo *)csg->relocs_bo[i]); in cs_gem_emit()
485 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
486 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()
Dradeon_cs_int.h39 struct radeon_bo *bo,
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h39 struct radeon_bo { struct
52 struct radeon_bo *real; argument
56 struct radeon_bo **fences;
79 struct radeon_bo *buffer; argument
80 struct radeon_bo *entries;
94 void radeon_bo_reference(struct radeon_bo **dst, struct radeon_bo *src) in radeon_bo_reference()
99 void *radeon_bo_do_map(struct radeon_bo *bo);
Dradeon_drm_bo.c52 static inline struct radeon_bo *radeon_bo(struct pb_buffer *bo) in radeon_bo() function
54 return (struct radeon_bo *)bo; in radeon_bo()
63 static bool radeon_real_bo_is_busy(struct radeon_bo *bo) in radeon_real_bo_is_busy()
72 static bool radeon_bo_is_busy(struct radeon_bo *bo) in radeon_bo_is_busy()
96 static void radeon_real_bo_wait_idle(struct radeon_bo *bo) in radeon_real_bo_wait_idle()
105 static void radeon_bo_wait_idle(struct radeon_bo *bo) in radeon_bo_wait_idle()
112 struct radeon_bo *fence = NULL; in radeon_bo_wait_idle()
135 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_wait()
179 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_bo_get_initial_domain()
331 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy()
[all …]
Dradeon_drm_cs.h33 struct radeon_bo *bo;
92 int radeon_lookup_buffer(struct radeon_cs_context *csc, struct radeon_bo *bo);
102 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs()
111 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs_for_write()
129 radeon_bo_is_referenced_by_any_cs(struct radeon_bo *bo) in radeon_bo_is_referenced_by_any_cs()
Dradeon_drm_cs.c198 int radeon_lookup_buffer(struct radeon_cs_context *csc, struct radeon_bo *bo) in radeon_lookup_buffer()
237 struct radeon_bo *bo) in radeon_lookup_or_add_real_buffer()
295 struct radeon_bo *bo) in radeon_lookup_or_add_slab_buffer()
348 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_drm_cs_add_buffer()
385 return radeon_lookup_buffer(cs->csc, (struct radeon_bo*)buf); in radeon_drm_cs_lookup_buffer()
503 static void radeon_bo_slab_fence(struct radeon_bo *bo, struct radeon_bo *fence) in radeon_bo_slab_fence()
524 struct radeon_bo **new_fences = REALLOC(bo->u.slab.fences, in radeon_bo_slab_fence()
602 struct radeon_bo *bo = cs->csc->slab_buffers[i].bo; in radeon_drm_cs_flush()
604 radeon_bo_slab_fence(bo, (struct radeon_bo *)fence); in radeon_drm_cs_flush()
723 struct radeon_bo *bo = (struct radeon_bo*)_buf; in radeon_bo_is_referenced()
/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.c123 struct radeon_bo *bo, in emit_tx_setup()
311 struct radeon_bo *bo, in emit_cb_setup()
378 struct radeon_bo *src_bo, in validate_buffers()
379 struct radeon_bo *dst_bo) in validate_buffers()
483 struct radeon_bo *src_bo, in r200_blit()
491 struct radeon_bo *dst_bo, in r200_blit()
Dradeon_dma.h51 struct radeon_bo **pbo, int *poffset,
/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_buffer_objects.h33 struct radeon_bo;
41 struct radeon_bo *bo;
Dradeon_blit.c114 struct radeon_bo *bo, in emit_tx_setup()
162 struct radeon_bo *bo, in emit_cb_setup()
226 struct radeon_bo *src_bo, in validate_buffers()
227 struct radeon_bo *dst_bo) in validate_buffers()
334 struct radeon_bo *src_bo, in r100_blit()
342 struct radeon_bo *dst_bo, in r100_blit()
Dradeon_blit.h36 struct radeon_bo *src_bo,
44 struct radeon_bo *dst_bo,
Dradeon_dma.h51 struct radeon_bo **pbo, int *poffset,
/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()

12