Home
last modified time | relevance | path

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

/external/libdrm/freedreno/
Dfreedreno_drmif.h44 struct fd_bo;
119 struct fd_bo * fd_bo_new(struct fd_device *dev,
121 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe,
123 struct fd_bo *fd_bo_from_handle(struct fd_device *dev,
125 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name);
126 struct fd_bo * fd_bo_from_dmabuf(struct fd_device *dev, int fd);
127 uint64_t fd_bo_get_iova(struct fd_bo *bo);
128 void fd_bo_put_iova(struct fd_bo *bo);
129 struct fd_bo * fd_bo_ref(struct fd_bo *bo);
130 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 struct fd_bo *
84 struct fd_bo *bo = NULL; in fd_bo_new()
106 struct fd_bo *
109 struct fd_bo *bo = NULL; in fd_bo_from_handle()
[all …]
Dfreedreno_priv.h64 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
110 drm_private struct fd_bo * fd_bo_cache_alloc(struct fd_bo_cache *cache,
112 drm_private 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 *bo, int willneed);
156 uint64_t (*iova)(struct fd_bo *bo);
157 void (*destroy)(struct fd_bo *bo);
160 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()
Dfreedreno_ringbuffer.h74 struct fd_bo *bo;
/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 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,
Dkgsl_pipe.c129 struct fd_bo *bo = &kgsl_bo->base; in kgsl_pipe_add_submit()
/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.h74 struct fd_bo base;
85 static inline struct msm_bo * to_msm_bo(struct fd_bo *x) in to_msm_bo()
92 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_ringbuffer.c42 struct fd_bo *ring_bo;
71 struct fd_bo **bos;
108 static void ring_bo_del(struct fd_device *dev, struct fd_bo *bo) in ring_bo_del()
122 static struct fd_bo * ring_bo_new(struct fd_device *dev, uint32_t size) in ring_bo_new()
124 struct fd_bo *bo; in ring_bo_new()
197 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo()
215 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx()
249 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;
46 struct fd_bo *vsc_size_mem;
53 struct fd_bo *blit_mem;
Dfd5_image.c56 struct fd_bo *bo;
Dfd5_emit.c77 struct fd_bo *bo = fd_resource(prsc)->bo; in fd5_emit_const()
1082 struct fd_bo *src_bo = fd_resource(src)->bo; in fd5_mem_to_mem()
1083 struct fd_bo *dst_bo = fd_resource(dst)->bo; in fd5_mem_to_mem()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h43 struct fd_bo;
100 struct fd_bo *bo,
103 struct fd_bo * fd_screen_bo_from_handle(struct pipe_screen *pscreen,
Dfreedreno_resource.h68 struct fd_bo *bo;
110 struct fd_bo *lrz;
Dfreedreno_gmem.h38 struct fd_bo *bo;
Dfreedreno_screen.c728 struct fd_bo *bo, in fd_screen_bo_get_handle()
747 struct fd_bo *
752 struct fd_bo *bo; in fd_screen_bo_from_handle()
Dfreedreno_util.h218 OUT_RELOC(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOC()
237 OUT_RELOCW(struct fd_ringbuffer *ring, struct fd_bo *bo, in OUT_RELOCW()
/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_emit.c77 struct fd_bo *bo = fd_resource(prsc)->bo; in fd4_emit_const()
451 struct fd_bo *dummy_vbo = vp->bo; in fd4_emit_vertex_bufs()
920 struct fd_bo *src_bo = fd_resource(src)->bo; in fd4_mem_to_mem()
921 struct fd_bo *dst_bo = fd_resource(dst)->bo; in fd4_mem_to_mem()
Dfd4_query.c133 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h208 struct fd_bo *bo;