Searched refs:kgsl_bo (Results 1 – 5 of 5) sorted by relevance
/external/libdrm/freedreno/kgsl/ |
D | kgsl_bo.c | 48 static int bo_alloc(struct kgsl_bo *kgsl_bo) in bo_alloc() argument 50 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() 51 if (!kgsl_bo->offset) { in bo_alloc() 68 kgsl_bo->offset = req.offset; in bo_alloc() 76 struct kgsl_bo *kgsl_bo = to_kgsl_bo(bo); in kgsl_bo_offset() local 77 int ret = bo_alloc(kgsl_bo); in kgsl_bo_offset() 80 *offset = kgsl_bo->offset; in kgsl_bo_offset() 126 struct kgsl_bo *kgsl_bo = to_kgsl_bo(bo); in kgsl_bo_destroy() local 127 free(kgsl_bo); in kgsl_bo_destroy() 167 struct kgsl_bo *kgsl_bo; in kgsl_bo_from_handle() local [all …]
|
D | kgsl_pipe.c | 129 struct kgsl_bo *kgsl_bo) in kgsl_pipe_add_submit() argument 132 struct fd_bo *bo = &kgsl_bo->base; in kgsl_pipe_add_submit() 133 struct list_head *list = &kgsl_bo->list[pipe->id]; in kgsl_pipe_add_submit() 146 struct kgsl_bo *kgsl_bo = NULL; in kgsl_pipe_pre_submit() local 151 LIST_FOR_EACH_ENTRY(kgsl_bo, &kgsl_pipe->submit_list, list[pipe->id]) { in kgsl_pipe_pre_submit() 152 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() 163 struct kgsl_bo *kgsl_bo = NULL, *tmp; in kgsl_pipe_post_submit() local 165 LIST_FOR_EACH_ENTRY_SAFE(kgsl_bo, tmp, &kgsl_pipe->submit_list, list[pipe->id]) { in kgsl_pipe_post_submit() 166 struct list_head *list = &kgsl_bo->list[pipe->id]; in kgsl_pipe_post_submit() 168 kgsl_bo->timestamp[pipe->id] = timestamp; in kgsl_pipe_post_submit() [all …]
|
D | kgsl_priv.h | 78 struct kgsl_bo { struct 88 static inline struct kgsl_bo * to_kgsl_bo(struct fd_bo *x) in to_kgsl_bo() argument 90 return (struct kgsl_bo *)x; in to_kgsl_bo() 99 struct kgsl_bo *bo); 116 drm_private uint32_t kgsl_bo_gpuaddr(struct kgsl_bo *bo, uint32_t offset); 117 drm_private void kgsl_bo_set_timestamp(struct kgsl_bo *bo, uint32_t timestamp); 118 drm_private uint32_t kgsl_bo_get_timestamp(struct kgsl_bo *bo);
|
D | kgsl_ringbuffer.c | 169 struct kgsl_bo *kgsl_bo = to_kgsl_bo(r->bo); in kgsl_ringbuffer_emit_reloc() local 170 uint32_t addr = kgsl_bo_gpuaddr(kgsl_bo, r->offset); in kgsl_ringbuffer_emit_reloc() 177 kgsl_pipe_add_submit(to_kgsl_pipe(ring->pipe), kgsl_bo); in kgsl_ringbuffer_emit_reloc()
|
/external/libdrm/freedreno/ |
D | Makefile.sources | 16 kgsl/kgsl_bo.c \
|