Home
last modified time | relevance | path

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

/external/libdrm/freedreno/
Dfreedreno_drmif.h35 struct fd_bo;
98 struct fd_bo * fd_bo_new(struct fd_device *dev,
100 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe,
102 struct fd_bo *fd_bo_from_handle(struct fd_device *dev,
104 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name);
105 struct fd_bo * fd_bo_from_dmabuf(struct fd_device *dev, int fd);
106 struct fd_bo * fd_bo_ref(struct fd_bo *bo);
107 void fd_bo_del(struct fd_bo *bo);
108 int fd_bo_get_name(struct fd_bo *bo, uint32_t *name);
109 uint32_t fd_bo_handle(struct fd_bo *bo);
[all …]
Dfreedreno_bo.c38 static void bo_del(struct fd_bo *bo);
41 static void set_name(struct fd_bo *bo, uint32_t name) in set_name()
49 static struct fd_bo * lookup_bo(void *tbl, uint32_t key) in lookup_bo()
51 struct fd_bo *bo = NULL; in lookup_bo()
63 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle()
66 struct fd_bo *bo; in bo_from_handle()
96 struct fd_bo *bo; in fd_cleanup_bo_cache()
99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in fd_cleanup_bo_cache()
130 static int is_idle(struct fd_bo *bo) in is_idle()
138 static struct fd_bo *find_in_bucket(struct fd_device *dev, in find_in_bucket()
[all …]
Dfreedreno_priv.h60 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
130 int (*offset)(struct fd_bo *bo, uint64_t *offset);
131 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
132 void (*cpu_fini)(struct fd_bo *bo);
133 void (*destroy)(struct fd_bo *bo);
136 struct fd_bo { struct
Dfreedreno_ringbuffer.h68 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 void kgsl_bo_destroy(struct fd_bo *bo) in kgsl_bo_destroy()
158 drm_private struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev, in kgsl_bo_from_handle()
162 struct fd_bo *bo; in kgsl_bo_from_handle()
178 struct fd_bo *
181 struct fd_bo *bo; in fd_bo_from_fbdev()
223 struct fd_bo *bo = &kgsl_bo->base; in kgsl_bo_gpuaddr()
[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.c128 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 void msm_bo_destroy(struct fd_bo *bo) in msm_bo_destroy()
127 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle()
131 struct fd_bo *bo; in msm_bo_from_handle()
Dmsm_priv.h71 struct fd_bo base;
89 static inline struct msm_bo * to_msm_bo(struct fd_bo *x) in to_msm_bo()
96 drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_ringbuffer.c41 struct fd_bo *ring_bo;
59 struct fd_bo **bos;
91 static uint32_t append_bo(struct fd_ringbuffer *ring, struct fd_bo *bo) in append_bo()
109 static uint32_t bo2idx(struct fd_ringbuffer *ring, struct fd_bo *bo, uint32_t flags) in bo2idx()
140 struct drm_msm_gem_submit_cmd *cmd, struct fd_bo *bo) in check_cmd_bo()
152 struct fd_ringbuffer *target_ring, struct fd_bo *target_bo, in get_cmd()
228 struct fd_bo *ring_bo = msm_ring->ring_bo; in msm_ringbuffer_flush()
333 struct fd_bo *target_bo = to_msm_ringbuffer(target->ring)->ring_bo; in msm_ringbuffer_emit_reloc_ring()