Home
last modified time | relevance | path

Searched refs:fd_bo (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/freedreno/drm/
Dfreedreno_drmif.h34 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 …]
Dfreedreno_bo.c33 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 …]
Dfreedreno_priv.h58 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 …]
Dfreedreno_bo_cache.c30 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()
Dmsm_bo.c31 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()
Dmsm_priv.h74 struct fd_bo base;
78 FD_DEFINE_CAST(fd_bo, msm_bo);
82 struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_ringbuffer.c49 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()
Dmsm_ringbuffer_sp.c49 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/
Dfreedreno_drmif.h44 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 …]
Dfreedreno_bo.c33 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 …]
Dfreedreno_priv.h64 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 …]
Dfreedreno_bo_cache.c32 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/
Dkgsl_bo.c46 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 …]
Dkgsl_priv.h79 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/
Dmsm_bo.c33 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()
Dmsm_priv.h85 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,
Dmsm_ringbuffer.c43 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/
Dfd3_context.h40 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
45 struct fd_bo *vsc_size_mem;
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_context.h39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
46 struct fd_bo *vsc_size_mem;
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.h42 struct fd_bo *vsc_size_mem;
49 struct fd_bo *blit_mem;
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h46 struct fd_bo;
156 struct fd_bo *bo,
160 struct fd_bo * fd_screen_bo_from_handle(struct pipe_screen *pscreen,
Dfreedreno_resource.h49 struct fd_bo *bo; /* use fd_resource_set_bo() to write */
107 struct fd_bo *lrz;
112 struct fd_bo *bo;
Dfreedreno_batch.h251 struct fd_bo *tessfactor_bo;
256 struct fd_bo *tessparam_bo;
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_context.h60 struct fd_bo *vsc_draw_strm, *vsc_prim_strm;
67 struct fd_bo *control_mem;
Dfd6_pack.h32 struct fd_bo *bo;
39 #define __bo_type struct fd_bo *

12