/third_party/libdrm/radeon/ |
D | radeon_bo.h | 44 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 …]
|
D | radeon_bo.c | 36 drm_public void radeon_bo_debug(struct radeon_bo *bo, const char *op) in radeon_bo_debug() 44 drm_public struct radeon_bo * 48 struct radeon_bo *bo; in radeon_bo_open() 53 drm_public void radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 60 drm_public struct radeon_bo *radeon_bo_unref(struct radeon_bo *bo) in radeon_bo_unref() 70 drm_public int radeon_bo_map(struct radeon_bo *bo, int write) in radeon_bo_map() 76 drm_public int radeon_bo_unmap(struct radeon_bo *bo) in radeon_bo_unmap() 82 drm_public int radeon_bo_wait(struct radeon_bo *bo) in radeon_bo_wait() 90 drm_public int radeon_bo_is_busy(struct radeon_bo *bo, uint32_t *domain) in radeon_bo_is_busy() 97 radeon_bo_set_tiling(struct radeon_bo *bo, in radeon_bo_set_tiling() [all …]
|
D | radeon_bo_gem.h | 40 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,
|
D | radeon_bo_gem.c | 60 static struct radeon_bo *bo_open(struct radeon_bo_manager *bom, in bo_open() 117 radeon_bo_ref((struct radeon_bo*)bo); in bo_open() 118 return (struct radeon_bo*)bo; in bo_open() 125 static struct radeon_bo *bo_unref(struct radeon_bo_int *boi) in bo_unref() 131 return (struct radeon_bo *)boi; in bo_unref() 308 radeon_gem_name_bo(struct radeon_bo *bo) in radeon_gem_name_bo() 315 radeon_gem_get_reloc_in_cs(struct radeon_bo *bo) in radeon_gem_get_reloc_in_cs() 322 radeon_gem_get_kernel_name(struct radeon_bo *bo, uint32_t *name) in radeon_gem_get_kernel_name() 344 radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain) in radeon_gem_set_domain() 361 drm_public int radeon_gem_prime_share_bo(struct radeon_bo *bo, int *handle) in radeon_gem_prime_share_bo() [all …]
|
D | radeon_cs.h | 42 struct radeon_bo *bo; 84 struct radeon_bo *bo, 97 struct radeon_bo *bo, 111 struct radeon_bo *bo,
|
D | Makefile.sources | 5 radeon_bo.c \ 10 radeon_bo.h \
|
D | radeon_cs_gem.c | 173 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()
|
D | radeon_cs_space.c | 53 if (radeon_bo_is_static((struct radeon_bo *)sc->bo)) { in radeon_cs_setup_bo() 166 radeon_cs_space_add_persistent_bo(struct radeon_cs *cs, struct radeon_bo *bo, in radeon_cs_space_add_persistent_bo() 210 radeon_cs_space_check_with_bo(struct radeon_cs *cs, struct radeon_bo *bo, in radeon_cs_space_check_with_bo() 241 radeon_bo_unref((struct radeon_bo *)csi->bos[i].bo); in radeon_cs_space_reset_bos()
|
D | radeon_bo_int.h | 25 struct radeon_bo *(*bo_open)(struct radeon_bo_manager *bom, 32 struct radeon_bo *(*bo_unref)(struct radeon_bo_int *bo);
|
D | meson.build | 26 'radeon_bo_gem.c', 'radeon_cs_gem.c', 'radeon_cs_space.c', 'radeon_bo.c', 45 'radeon_bo.h', 'radeon_cs.h', 'radeon_surface.h', 'radeon_bo_gem.h',
|
D | radeon_cs_int.h | 39 struct radeon_bo *bo,
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.h | 35 struct radeon_bo { struct 48 struct radeon_bo *real; argument 52 struct radeon_bo **fences; 75 struct radeon_bo *buffer; argument 76 struct radeon_bo *entries; 90 void radeon_ws_bo_reference(struct radeon_bo **dst, struct radeon_bo *src) in radeon_ws_bo_reference() 95 void *radeon_bo_do_map(struct radeon_bo *bo);
|
D | radeon_drm_bo.c | 52 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() 136 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_wait() 180 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_bo_get_initial_domain() 356 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy() [all …]
|
D | radeon_drm_cs.h | 38 struct radeon_bo *bo; 96 int radeon_lookup_buffer(struct radeon_cs_context *csc, struct radeon_bo *bo); 106 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs() 115 struct radeon_bo *bo) in radeon_bo_is_referenced_by_cs_for_write() 133 radeon_bo_is_referenced_by_any_cs(struct radeon_bo *bo) in radeon_bo_is_referenced_by_any_cs()
|
D | radeon_drm_cs.c | 218 int radeon_lookup_buffer(struct radeon_cs_context *csc, struct radeon_bo *bo) in radeon_lookup_buffer() 257 struct radeon_bo *bo) in radeon_lookup_or_add_real_buffer() 315 struct radeon_bo *bo) in radeon_lookup_or_add_slab_buffer() 368 struct radeon_bo *bo = (struct radeon_bo*)buf; in radeon_drm_cs_add_buffer() 413 return radeon_lookup_buffer(cs->csc, (struct radeon_bo*)buf); in radeon_drm_cs_lookup_buffer() 533 static void radeon_bo_slab_fence(struct radeon_bo *bo, struct radeon_bo *fence) in radeon_bo_slab_fence() 554 struct radeon_bo **new_fences = REALLOC(bo->u.slab.fences, in radeon_bo_slab_fence() 630 struct radeon_bo *bo = cs->csc->slab_buffers[i].bo; in radeon_drm_cs_flush() 632 radeon_bo_slab_fence(bo, (struct radeon_bo *)fence); in radeon_drm_cs_flush() 755 struct radeon_bo *bo = (struct radeon_bo*)_buf; in radeon_bo_is_referenced()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.h | 84 struct radeon_bo *bo; 89 struct radeon_bo *map_bo; 168 struct radeon_bo *bo; 202 struct radeon_bo *bo; 223 struct radeon_bo *bo; 239 struct radeon_bo *bo; /** Buffer object where vertex data is stored */ 250 struct radeon_bo *bo; 292 struct radeon_bo *bo; 299 struct radeon_bo *elt_dma_bo; /** Buffer object that contains element indices */ 306 struct radeon_bo *bo; [all …]
|
D | radeon_buffer_objects.h | 33 struct radeon_bo; 41 struct radeon_bo *bo;
|
D | r200_blit.h | 36 struct radeon_bo *src_bo, 44 struct radeon_bo *dst_bo,
|
D | r200_blit.c | 111 struct radeon_bo *bo, 301 struct radeon_bo *bo, 368 struct radeon_bo *src_bo, 369 struct radeon_bo *dst_bo) 473 struct radeon_bo *src_bo, 481 struct radeon_bo *dst_bo,
|
D | radeon_dma.h | 51 struct radeon_bo **pbo, int *poffset,
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.h | 84 struct radeon_bo *bo; 89 struct radeon_bo *map_bo; 168 struct radeon_bo *bo; 202 struct radeon_bo *bo; 223 struct radeon_bo *bo; 239 struct radeon_bo *bo; /** Buffer object where vertex data is stored */ 250 struct radeon_bo *bo; 292 struct radeon_bo *bo; 299 struct radeon_bo *elt_dma_bo; /** Buffer object that contains element indices */ 306 struct radeon_bo *bo; [all …]
|
D | radeon_blit.c | 105 struct radeon_bo *bo, in emit_tx_setup() 153 struct radeon_bo *bo, in emit_cb_setup() 217 struct radeon_bo *src_bo, in validate_buffers() 218 struct radeon_bo *dst_bo) in validate_buffers() 325 struct radeon_bo *src_bo, in r100_blit() 333 struct radeon_bo *dst_bo, in r100_blit()
|
D | radeon_buffer_objects.h | 33 struct radeon_bo; 41 struct radeon_bo *bo;
|
D | radeon_blit.h | 36 struct radeon_bo *src_bo, 44 struct radeon_bo *dst_bo,
|
/third_party/libdrm/libkms/ |
D | radeon.c | 44 struct radeon_bo struct 78 struct radeon_bo *bo; in radeon_bo_create() 150 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_map() 186 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_unmap() 197 struct radeon_bo *bo = (struct radeon_bo *)_bo; in radeon_bo_destroy()
|