Home
last modified time | relevance | path

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

/external/libdrm/freedreno/
Dfreedreno_drmif.h44 struct fd_bo;
115 struct fd_bo * fd_bo_new(struct fd_device *dev,
117 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe,
119 struct fd_bo *fd_bo_from_handle(struct fd_device *dev,
121 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name);
122 struct fd_bo * fd_bo_from_dmabuf(struct fd_device *dev, int fd);
123 struct fd_bo * fd_bo_ref(struct fd_bo *bo);
124 void fd_bo_del(struct fd_bo *bo);
125 int fd_bo_get_name(struct fd_bo *bo, uint32_t *name);
126 uint32_t fd_bo_handle(struct fd_bo *bo);
[all …]
Dfreedreno_bo.c37 drm_private void bo_del(struct fd_bo *bo);
40 static void set_name(struct fd_bo *bo, uint32_t name) in set_name()
48 static struct fd_bo * lookup_bo(void *tbl, uint32_t key) in lookup_bo()
50 struct fd_bo *bo = NULL; in lookup_bo()
62 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle()
65 struct fd_bo *bo; in bo_from_handle()
85 struct fd_bo *
88 struct fd_bo *bo = NULL; in fd_bo_new()
108 struct fd_bo *
111 struct fd_bo *bo = NULL; in fd_bo_from_handle()
[all …]
Dfreedreno_bo_cache.c37 drm_private void bo_del(struct fd_bo *bo);
96 struct fd_bo *bo; in fd_bo_cache_cleanup()
99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in fd_bo_cache_cleanup()
130 static int is_idle(struct fd_bo *bo) in is_idle()
138 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags) in find_in_bucket()
140 struct fd_bo *bo = NULL; in find_in_bucket()
151 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in find_in_bucket()
165 drm_private struct fd_bo *
168 struct fd_bo *bo = NULL; in fd_bo_cache_alloc()
197 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
Dfreedreno_priv.h67 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
109 drm_private struct fd_bo * fd_bo_cache_alloc(struct fd_bo_cache *cache,
111 drm_private int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo);
151 int (*offset)(struct fd_bo *bo, uint64_t *offset);
152 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
153 void (*cpu_fini)(struct fd_bo *bo);
154 int (*madvise)(struct fd_bo *bo, int willneed);
155 void (*destroy)(struct fd_bo *bo);
158 struct fd_bo { struct
Dfreedreno_ringbuffer.h74 struct fd_bo *bo;
/external/libdrm/freedreno/kgsl/
Dkgsl_bo.c50 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc()
74 static int kgsl_bo_offset(struct fd_bo *bo, uint64_t *offset) in kgsl_bo_offset()
84 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep()
115 static void kgsl_bo_cpu_fini(struct fd_bo *bo) in kgsl_bo_cpu_fini()
119 static int kgsl_bo_madvise(struct fd_bo *bo, int willneed) in kgsl_bo_madvise()
124 static void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy()
164 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev, in kgsl_bo_from_handle()
168 struct fd_bo *bo; in kgsl_bo_from_handle()
184 struct fd_bo *
187 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,
Dkgsl_pipe.c132 struct fd_bo *bo = &kgsl_bo->base; in kgsl_pipe_add_submit()
/external/libdrm/freedreno/msm/
Dmsm_bo.c37 struct fd_bo *bo = &msm_bo->base; in bo_allocate()
61 static int msm_bo_offset(struct fd_bo *bo, uint64_t *offset) in msm_bo_offset()
71 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep()
83 static void msm_bo_cpu_fini(struct fd_bo *bo) in msm_bo_cpu_fini()
92 static int msm_bo_madvise(struct fd_bo *bo, int willneed) in msm_bo_madvise()
111 static void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy()
147 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle()
151 struct fd_bo *bo; in msm_bo_from_handle()
Dmsm_priv.h73 struct fd_bo base;
84 static inline struct msm_bo * to_msm_bo(struct fd_bo *x) in to_msm_bo()
91 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_ringbuffer.c46 struct fd_bo *ring_bo;
75 struct fd_bo **bos;
112 static void ring_bo_del(struct fd_device *dev, struct fd_bo *bo) in ring_bo_del()
126 static struct fd_bo * ring_bo_new(struct fd_device *dev, uint32_t size) in ring_bo_new()
128 struct fd_bo *bo; in ring_bo_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()
253 struct drm_msm_gem_submit_cmd *cmd, struct fd_bo *bo) in check_cmd_bo()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_context.h41 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
50 struct fd_bo *vsc_size_mem;
57 struct fd_bo *blit_mem;
Dfd5_emit.c80 struct fd_bo *bo = fd_resource(prsc)->bo; in fd5_emit_const()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h42 struct fd_bo;
89 struct fd_bo *bo,
92 struct fd_bo * fd_screen_bo_from_handle(struct pipe_screen *pscreen,
Dfreedreno_screen.c534 struct fd_bo *bo, in fd_screen_bo_get_handle()
553 struct fd_bo *
558 struct fd_bo *bo; in fd_screen_bo_from_handle()
Dfreedreno_gmem.h38 struct fd_bo *bo;
Dfreedreno_util.h214 OUT_RELOC(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOC()
233 OUT_RELOCW(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOCW()
Dfreedreno_resource.h68 struct fd_bo *bo;
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_context.h44 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
49 struct fd_bo *vsc_size_mem;
Dfd3_emit.c82 struct fd_bo *bo = fd_resource(prsc)->bo; in fd3_emit_const()
446 struct fd_bo *dummy_vbo = vp->bo; in fd3_emit_vertex_bufs()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_context.h43 struct fd_bo *vs_pvt_mem, *fs_pvt_mem;
50 struct fd_bo *vsc_size_mem;
Dfd4_query.c133 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample()
Dfd4_emit.c82 struct fd_bo *bo = fd_resource(prsc)->bo; in fd4_emit_const()
454 struct fd_bo *dummy_vbo = vp->bo; in fd4_emit_vertex_bufs()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h109 struct fd_bo *bo;