/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_drmif.h | 39 struct fd_bo; 170 struct fd_bo *_fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags); 171 void _fd_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap); 173 static inline void fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...) 177 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...) in fd_bo_set_name() 187 static inline struct fd_bo *fd_bo_new(struct fd_device *dev, uint32_t size, 191 static inline struct fd_bo * 195 struct fd_bo *bo = _fd_bo_new(dev, size, flags); in fd_bo_new() 207 struct fd_bo *fd_bo_from_handle(struct fd_device *dev, uint32_t handle, 209 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); 37 set_name(struct fd_bo *bo, uint32_t name) in set_name() 45 static struct fd_bo * 48 struct fd_bo *bo = NULL; in lookup_bo() 61 fd_bo_init_common(struct fd_bo *bo, struct fd_device *dev) in fd_bo_init_common() 76 static struct fd_bo * 79 struct fd_bo *bo; in bo_from_handle() 98 static struct fd_bo * 102 struct fd_bo *bo = NULL; in bo_new() 130 struct fd_bo * [all …]
|
D | freedreno_priv.h | 95 struct fd_bo *(*bo_new)(struct fd_device *dev, uint32_t size, uint32_t flags); 100 struct fd_bo *(*bo_from_handle)(struct fd_device *dev, uint32_t size, 172 struct fd_bo *suballoc_bo; 188 struct fd_bo *fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size, 190 int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo); 193 void fd_bo_del_locked(struct fd_bo *bo); 251 struct fd_bo *control_mem; 303 int (*offset)(struct fd_bo *bo, uint64_t *offset); 304 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op); 305 void (*cpu_fini)(struct fd_bo *bo); [all …]
|
D | freedreno_bo_cache.c | 30 void bo_del(struct fd_bo *bo); 91 struct fd_bo *bo; in fd_bo_cache_cleanup() 94 bo = list_entry(bucket->list.next, struct fd_bo, list); in fd_bo_cache_cleanup() 127 static struct fd_bo * 130 struct fd_bo *bo = NULL; in find_in_bucket() 140 list_for_each_entry (struct fd_bo, entry, &bucket->list, list) { in find_in_bucket() 155 struct fd_bo * 158 struct fd_bo *bo = NULL; in fd_bo_cache_alloc() 188 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
|
D | freedreno_ringbuffer_sp.h | 51 DECLARE_ARRAY(struct fd_bo *, bos); 92 struct fd_bo *ring_bo; 108 DECLARE_ARRAY(struct fd_bo *, reloc_bos); 117 struct fd_bo *ring_bo; 122 uint32_t fd_submit_append_bo(struct fd_submit_sp *submit, struct fd_bo *bo);
|
D | freedreno_ringbuffer_sp_reloc.h | 81 struct fd_bo *bo; in X() 114 struct fd_bo *target_bo = fd_target->u.reloc_bos[i]; in X()
|
/third_party/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() 78 static struct fd_bo * 82 struct fd_bo *bo = NULL; in bo_new() 103 drm_public struct fd_bo * 106 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()
|
/third_party/mesa3d/src/freedreno/drm/virtio/ |
D | virtio_bo.c | 31 struct fd_bo *bo = &virtio_bo->base; in bo_allocate() 51 virtio_bo_offset(struct fd_bo *bo, uint64_t *offset) in virtio_bo_offset() 62 virtio_bo_cpu_prep_guest(struct fd_bo *bo) in virtio_bo_cpu_prep_guest() 78 virtio_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in virtio_bo_cpu_prep() 128 virtio_bo_cpu_fini(struct fd_bo *bo) in virtio_bo_cpu_fini() 134 virtio_bo_madvise(struct fd_bo *bo, int willneed) in virtio_bo_madvise() 146 virtio_bo_iova(struct fd_bo *bo) in virtio_bo_iova() 156 virtio_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap) in virtio_bo_set_name() 186 bo_upload(struct fd_bo *bo, unsigned off, void *src, unsigned len) in bo_upload() 205 virtio_bo_upload(struct fd_bo *bo, void *src, unsigned len) in virtio_bo_upload() [all …]
|
D | virtio_priv.h | 49 struct fd_bo *shmem_bo; 164 struct fd_bo base; 169 FD_DEFINE_CAST(fd_bo, virtio_bo); 171 struct fd_bo *virtio_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags); 172 struct fd_bo *virtio_bo_from_handle(struct fd_device *dev, uint32_t size,
|
D | virtio_ringbuffer.h | 85 struct fd_bo *bo; in X() 118 struct fd_bo *target_bo = virtio_target->u.reloc_bos[i]; in X()
|
/third_party/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,
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
D | msm_bo.c | 32 struct fd_bo *bo = &msm_bo->base; in bo_allocate() 58 msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset() 69 msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep() 82 msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini() 92 msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise() 113 msm_bo_iova(struct fd_bo *bo) in msm_bo_iova() 129 msm_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap) in msm_bo_set_name() 150 msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy() 196 struct fd_bo * 210 struct fd_bo * [all …]
|
D | msm_priv.h | 76 struct fd_bo base; 79 FD_DEFINE_CAST(fd_bo, msm_bo); 81 struct fd_bo *msm_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags); 82 struct fd_bo *msm_bo_from_handle(struct fd_device *dev, uint32_t size,
|
D | msm_ringbuffer.c | 47 DECLARE_ARRAY(struct fd_bo *, bos); 72 struct fd_bo *ring_bo; 78 cmd_new(struct fd_bo *ring_bo) in cmd_new() 106 DECLARE_ARRAY(struct fd_bo *, reloc_bos); 117 struct fd_bo *ring_bo; 128 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() 183 struct fd_bo *suballoc_bo = NULL; in msm_submit_suballoc_ring_bo() 259 struct fd_bo *bo = ring->u.reloc_bos[idx]; in handle_stateobj_relocs() 553 struct fd_bo *bo; in msm_ringbuffer_emit_reloc_ring()
|
/third_party/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,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_screen.h | 48 struct fd_bo; 156 struct fd_bo *tess_bo; 194 bool fd_screen_bo_get_handle(struct pipe_screen *pscreen, struct fd_bo *bo, 197 struct fd_bo *fd_screen_bo_from_handle(struct pipe_screen *pscreen,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_context.h | 39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem; 44 struct fd_bo *vsc_size_mem;
|
/third_party/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;
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_context.h | 42 struct fd_bo *vsc_size_mem; 49 struct fd_bo *blit_mem;
|
/third_party/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;
|