Searched refs:fd_bo (Results 1 - 25 of 79) sorted by relevance

1234

/xsrc/external/mit/libdrm/dist/freedreno/
H A 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 *b
[all...]
H A Dfreedreno_bo.c33 drm_private void bo_del(struct fd_bo *bo);
36 static void set_name(struct fd_bo *bo, uint32_t name)
44 static struct fd_bo * lookup_bo(void *tbl, uint32_t key)
46 struct fd_bo *bo = NULL;
58 static struct fd_bo * bo_from_handle(struct fd_device *dev,
61 struct fd_bo *bo;
78 static struct fd_bo *
82 struct fd_bo *bo = NULL;
103 drm_public struct fd_bo *
106 struct fd_bo *b
[all...]
H A Dfreedreno_priv.h64 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
87 /* tables to keep track of bo's, to avoid "evil-twin" fd_bo objects:
89 * handle_table: maps handle to fd_bo
90 * name_table: maps flink name to fd_bo
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 *b
157 struct fd_bo { struct
[all...]
H A Dfreedreno_bo_cache.c32 drm_private void bo_del(struct fd_bo *bo);
91 struct fd_bo *bo;
94 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
126 static int is_idle(struct fd_bo *bo)
134 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags)
136 struct fd_bo *bo = NULL;
147 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
161 drm_private struct fd_bo *
164 struct fd_bo *bo = NULL;
194 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *b
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
H A Dfreedreno_drmif.h39 struct fd_bo;
160 struct fd_bo *_fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags);
161 void _fd_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap);
163 static inline void fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...)
167 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...)
177 static inline struct fd_bo *fd_bo_new(struct fd_device *dev, uint32_t size,
181 static inline struct fd_bo *
185 struct fd_bo *bo = _fd_bo_new(dev, size, flags);
197 struct fd_bo *fd_bo_from_handle(struct fd_device *dev, uint32_t handle,
199 struct fd_bo *fd_bo_from_nam
[all...]
H A Dfreedreno_bo.c33 void bo_del(struct fd_bo *bo);
37 set_name(struct fd_bo *bo, uint32_t name)
45 static struct fd_bo *
48 struct fd_bo *bo = NULL;
61 static struct fd_bo *
64 struct fd_bo *bo;
89 static struct fd_bo *
93 struct fd_bo *bo = NULL;
122 struct fd_bo *
125 struct fd_bo *b
[all...]
H A Dfreedreno_priv.h94 struct fd_bo *(*bo_from_handle)(struct fd_device *dev, uint32_t size,
117 /* tables to keep track of bo's, to avoid "evil-twin" fd_bo objects:
119 * handle_table: maps handle to fd_bo
120 * name_table: maps flink name to fd_bo
162 struct fd_bo *fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size,
164 int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo);
167 void fd_bo_del_locked(struct fd_bo *bo);
215 struct fd_bo *control_mem;
265 int (*offset)(struct fd_bo *bo, uint64_t *offset);
266 int (*cpu_prep)(struct fd_bo *b
283 struct fd_bo { struct
[all...]
H A Dmsm_bo.c32 struct fd_bo *bo = &msm_bo->base;
58 msm_bo_offset(struct fd_bo *bo, uint64_t *offset)
69 msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op)
82 msm_bo_cpu_fini(struct fd_bo *bo)
92 msm_bo_madvise(struct fd_bo *bo, int willneed)
113 msm_bo_iova(struct fd_bo *bo)
129 msm_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap)
150 msm_bo_destroy(struct fd_bo *bo)
197 struct fd_bo *
201 struct fd_bo *b
[all...]
H A Dfreedreno_bo_cache.c30 void bo_del(struct fd_bo *bo);
89 struct fd_bo *bo;
92 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
125 static struct fd_bo *
128 struct fd_bo *bo = NULL;
138 list_for_each_entry (struct fd_bo, entry, &bucket->list, list) {
153 struct fd_bo *
156 struct fd_bo *bo = NULL;
186 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo)
H A Dmsm_priv.h62 struct fd_bo *suballoc_bo;
97 struct fd_bo base;
101 FD_DEFINE_CAST(fd_bo, msm_bo);
105 struct fd_bo *msm_bo_from_handle(struct fd_device *dev, uint32_t size,
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/
H A Dfreedreno_drmif.h34 struct fd_bo;
118 struct fd_bo * _fd_bo_new(struct fd_device *dev,
120 void _fd_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap);
123 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...) _util_printf_format(2, 3);
126 fd_bo_set_name(struct fd_bo *bo, const char *fmt, ...)
136 static inline struct fd_bo *
140 static inline struct fd_bo *
144 struct fd_bo *bo = _fd_bo_new(dev, size, flags);
156 struct fd_bo *fd_bo_from_handle(struct fd_device *dev,
158 struct fd_bo * fd_bo_from_nam
[all...]
H A Dfreedreno_bo.c33 void bo_del(struct fd_bo *bo);
36 static void set_name(struct fd_bo *bo, uint32_t name)
44 static struct fd_bo * lookup_bo(struct hash_table *tbl, uint32_t key)
46 struct fd_bo *bo = NULL;
59 static struct fd_bo * bo_from_handle(struct fd_device *dev,
62 struct fd_bo *bo;
82 static struct fd_bo *
86 struct fd_bo *bo = NULL;
107 struct fd_bo *
110 struct fd_bo *b
[all...]
H A Dfreedreno_priv.h58 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
81 /* tables to keep track of bo's, to avoid "evil-twin" fd_bo objects:
83 * handle_table: maps handle to fd_bo
84 * name_table: maps flink name to fd_bo
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);
152 int (*offset)(struct fd_bo *bo, uint64_t *offset);
153 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
154 void (*cpu_fini)(struct fd_bo *bo);
155 int (*madvise)(struct fd_bo *b
161 struct fd_bo { struct
[all...]
H A Dfreedreno_bo_cache.c30 void bo_del(struct fd_bo *bo);
89 struct fd_bo *bo;
92 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
124 static int is_idle(struct fd_bo *bo)
132 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags)
134 struct fd_bo *bo = NULL;
145 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
159 struct fd_bo *
162 struct fd_bo *bo = NULL;
192 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *b
[all...]
H A Dmsm_bo.c31 struct fd_bo *bo = &msm_bo->base;
56 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset)
66 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op)
78 static void msm_bo_cpu_fini(struct fd_bo *bo)
87 static int msm_bo_madvise(struct fd_bo *bo, int willneed)
106 static uint64_t msm_bo_iova(struct fd_bo *bo)
120 static void msm_bo_set_name(struct fd_bo *bo, const char *fmt, va_list ap)
140 static void msm_bo_destroy(struct fd_bo *bo)
183 struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
187 struct fd_bo *b
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_context.h39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
44 struct fd_bo *vsc_size_mem;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_context.h39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
46 struct fd_bo *vsc_size_mem;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_context.h40 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
45 struct fd_bo *vsc_size_mem;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_context.h39 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
46 struct fd_bo *vsc_size_mem;
/xsrc/external/mit/libdrm/dist/freedreno/msm/
H A Dmsm_bo.c33 struct fd_bo *bo = &msm_bo->base;
57 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset)
67 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op)
79 static void msm_bo_cpu_fini(struct fd_bo *bo)
88 static int msm_bo_madvise(struct fd_bo *bo, int willneed)
107 static uint64_t msm_bo_iova(struct fd_bo *bo)
119 static void msm_bo_destroy(struct fd_bo *bo)
156 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
160 struct fd_bo *bo;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_context.h42 struct fd_bo *vsc_size_mem;
49 struct fd_bo *blit_mem;
/xsrc/external/mit/libdrm/dist/freedreno/kgsl/
H A Dkgsl_bo.c44 struct fd_bo *bo = &kgsl_bo->base;
68 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset)
78 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op)
109 static void kgsl_bo_cpu_fini(struct fd_bo *bo)
113 static int kgsl_bo_madvise(struct fd_bo *bo, int willneed)
118 static void kgsl_bo_destroy(struct fd_bo *bo)
158 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev,
162 struct fd_bo *bo;
178 drm_public struct fd_bo *
181 struct fd_bo *b
[all...]
H A Dkgsl_priv.h79 struct fd_bo base;
88 static inline struct kgsl_bo * to_kgsl_bo(struct fd_bo *x)
113 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_context.h42 struct fd_bo *vsc_size_mem;
49 struct fd_bo *blit_mem;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_context.h49 struct fd_bo *vsc_data, *vsc_data2;
62 struct fd_bo *blit_mem;

Completed in 12 milliseconds

1234