/external/mesa3d/src/freedreno/drm/ |
D | freedreno_drmif.h | 34 struct fd_bo; 121 struct fd_bo * _fd_bo_new(struct fd_device *dev, 123 void _fd_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap); 126 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...) _util_printf_format(2, 3); 129 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...) in fd_bo_set_name() 139 static inline struct fd_bo * 143 static inline struct fd_bo * 147 struct fd_bo *bo = _fd_bo_new(dev, size, flags); in fd_bo_new() 159 struct fd_bo *fd_bo_from_handle(struct fd_device *dev, 161 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name); [all …]
|
D | freedreno_bo.c | 33 void bo_del(struct fd_bo *bo); 36 static void set_name(struct fd_bo *bo, uint32_t name) in set_name() 44 static struct fd_bo * lookup_bo(struct hash_table *tbl, uint32_t key) in lookup_bo() 46 struct fd_bo *bo = NULL; in lookup_bo() 59 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle() 62 struct fd_bo *bo; in bo_from_handle() 85 static struct fd_bo * 89 struct fd_bo *bo = NULL; in bo_new() 110 struct fd_bo * 113 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in _fd_bo_new() [all …]
|
D | freedreno_priv.h | 58 struct fd_bo * (*bo_from_handle)(struct fd_device *dev, 105 struct fd_bo * fd_bo_cache_alloc(struct fd_bo_cache *cache, 107 int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo); 142 int (*offset)(struct fd_bo *bo, uint64_t *offset); 143 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op); 144 void (*cpu_fini)(struct fd_bo *bo); 145 int (*madvise)(struct fd_bo *bo, int willneed); 146 uint64_t (*iova)(struct fd_bo *bo); 147 void (*set_name)(struct fd_bo *bo, const char *fmt, va_list ap); 148 void (*destroy)(struct fd_bo *bo); [all …]
|
D | freedreno_bo_cache.c | 30 void bo_del(struct fd_bo *bo); 89 struct fd_bo *bo; in fd_bo_cache_cleanup() 92 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in fd_bo_cache_cleanup() 124 static int is_idle(struct fd_bo *bo) in is_idle() 132 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags) in find_in_bucket() 134 struct fd_bo *bo = NULL; in find_in_bucket() 145 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in find_in_bucket() 159 struct fd_bo * 162 struct fd_bo *bo = NULL; in fd_bo_cache_alloc() 192 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
|
D | msm_bo.c | 31 struct fd_bo *bo = &msm_bo->base; in bo_allocate() 56 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 66 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 78 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 87 static int msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 106 static uint64_t msm_bo_iova(struct fd_bo *bo) in msm_bo_iova() 121 static void msm_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap) in msm_bo_set_name() 141 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 184 struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle() 188 struct fd_bo *bo; in msm_bo_from_handle()
|
D | msm_priv.h | 74 struct fd_bo base; 78 FD_DEFINE_CAST(fd_bo, msm_bo); 82 struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
|
D | msm_ringbuffer.c | 49 DECLARE_ARRAY(struct fd_bo *, bos); 76 struct fd_bo *ring_bo; 82 cmd_new(struct fd_bo *ring_bo) in cmd_new() 110 DECLARE_ARRAY(struct fd_bo *, reloc_bos); 121 struct fd_bo *ring_bo; 132 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() 189 struct fd_bo *suballoc_bo = NULL; in msm_submit_suballoc_ring_bo() 270 struct fd_bo *bo = ring->u.reloc_bos[idx]; in handle_stateobj_relocs() 576 struct fd_bo *bo; in msm_ringbuffer_emit_reloc_ring()
|
D | msm_ringbuffer_sp.c | 49 DECLARE_ARRAY(struct fd_bo *, bos); 73 struct fd_bo *ring_bo; 89 DECLARE_ARRAY(struct fd_bo *, reloc_bos); 98 struct fd_bo *ring_bo; 109 msm_submit_append_bo(struct msm_submit_sp *submit, struct fd_bo *bo) in msm_submit_append_bo() 154 struct fd_bo *suballoc_bo = NULL; in msm_submit_suballoc_ring_bo() 439 struct fd_bo *bo; in msm_ringbuffer_sp_emit_reloc_ring()
|
/external/libdrm/freedreno/ |
D | freedreno_drmif.h | 44 struct fd_bo; 120 struct fd_bo * fd_bo_new(struct fd_device *dev, 122 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe, 124 struct fd_bo *fd_bo_from_handle(struct fd_device *dev, 126 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name); 127 struct fd_bo * fd_bo_from_dmabuf(struct fd_device *dev, int fd); 128 uint64_t fd_bo_get_iova(struct fd_bo *bo); 129 void fd_bo_put_iova(struct fd_bo *bo); 130 struct fd_bo * fd_bo_ref(struct fd_bo *bo); 131 void fd_bo_del(struct fd_bo *bo); [all …]
|
D | freedreno_bo.c | 33 drm_private void bo_del(struct fd_bo *bo); 36 static void set_name(struct fd_bo *bo, uint32_t name) in set_name() 44 static struct fd_bo * lookup_bo(void *tbl, uint32_t key) in lookup_bo() 46 struct fd_bo *bo = NULL; in lookup_bo() 58 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle() 61 struct fd_bo *bo; in bo_from_handle() 81 static struct fd_bo * 85 struct fd_bo *bo = NULL; in bo_new() 106 drm_public struct fd_bo * 109 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache); in fd_bo_new() [all …]
|
D | freedreno_priv.h | 64 struct fd_bo * (*bo_from_handle)(struct fd_device *dev, 111 drm_private struct fd_bo * fd_bo_cache_alloc(struct fd_bo_cache *cache, 113 drm_private int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo); 149 int (*offset)(struct fd_bo *bo, uint64_t *offset); 150 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op); 151 void (*cpu_fini)(struct fd_bo *bo); 152 int (*madvise)(struct fd_bo *bo, int willneed); 153 uint64_t (*iova)(struct fd_bo *bo); 154 void (*destroy)(struct fd_bo *bo); 157 struct fd_bo { struct [all …]
|
D | freedreno_bo_cache.c | 32 drm_private void bo_del(struct fd_bo *bo); 91 struct fd_bo *bo; in fd_bo_cache_cleanup() 94 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in fd_bo_cache_cleanup() 126 static int is_idle(struct fd_bo *bo) in is_idle() 134 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags) in find_in_bucket() 136 struct fd_bo *bo = NULL; in find_in_bucket() 147 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in find_in_bucket() 161 drm_private struct fd_bo * 164 struct fd_bo *bo = NULL; in fd_bo_cache_alloc() 194 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_bo.c | 46 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() 70 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset) in kgsl_bo_offset() 80 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep() 111 static void kgsl_bo_cpu_fini(struct fd_bo *bo) in kgsl_bo_cpu_fini() 115 static int kgsl_bo_madvise(struct fd_bo *bo, int willneed) in kgsl_bo_madvise() 120 static void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy() 160 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev, in kgsl_bo_from_handle() 164 struct fd_bo *bo; in kgsl_bo_from_handle() 180 drm_public struct fd_bo * 183 struct fd_bo *bo; in fd_bo_from_fbdev() [all …]
|
D | kgsl_priv.h | 79 struct fd_bo base; 88 static inline struct kgsl_bo * to_kgsl_bo(struct fd_bo *x) in to_kgsl_bo() 113 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev,
|
/external/libdrm/freedreno/msm/ |
D | msm_bo.c | 33 struct fd_bo *bo = &msm_bo->base; in bo_allocate() 57 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 67 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 79 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 88 static int msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 107 static uint64_t msm_bo_iova(struct fd_bo *bo) in msm_bo_iova() 119 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 156 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle() 160 struct fd_bo *bo; in msm_bo_from_handle()
|
D | msm_priv.h | 85 struct fd_bo base; 96 static inline struct msm_bo * to_msm_bo(struct fd_bo *x) in to_msm_bo() 103 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
|
D | msm_ringbuffer.c | 43 struct fd_bo *ring_bo; 72 DECLARE_ARRAY(struct fd_bo *, bos); 153 struct fd_bo *suballoc_bo = NULL; in ring_cmd_new() 201 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo() 219 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx() 427 struct fd_bo *bo = msm_ring->bos[idx]; in handle_stateobj_relocs()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_context.h | 40 struct fd_bo *vs_pvt_mem, *fs_pvt_mem; 45 struct fd_bo *vsc_size_mem;
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_context.h | 39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem; 46 struct fd_bo *vsc_size_mem;
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_context.h | 42 struct fd_bo *vsc_size_mem; 49 struct fd_bo *blit_mem;
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_screen.h | 46 struct fd_bo; 156 struct fd_bo *bo, 160 struct fd_bo * fd_screen_bo_from_handle(struct pipe_screen *pscreen,
|
D | freedreno_resource.h | 49 struct fd_bo *bo; /* use fd_resource_set_bo() to write */ 107 struct fd_bo *lrz; 112 struct fd_bo *bo;
|
D | freedreno_batch.h | 251 struct fd_bo *tessfactor_bo; 256 struct fd_bo *tessparam_bo;
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_context.h | 60 struct fd_bo *vsc_draw_strm, *vsc_prim_strm; 67 struct fd_bo *control_mem;
|
D | fd6_pack.h | 32 struct fd_bo *bo; 39 #define __bo_type struct fd_bo *
|