Searched refs:kgsl_bo (Results 1 – 7 of 7) sorted by relevance
/external/libdrm/freedreno/kgsl/ |
D | kgsl_bo.c | 44 static int bo_alloc(struct kgsl_bo *kgsl_bo) in bo_alloc() argument 46 struct fd_bo *bo = &kgsl_bo->base; in bo_alloc() 47 if (!kgsl_bo->offset) { in bo_alloc() 64 kgsl_bo->offset = req.offset; in bo_alloc() 72 struct kgsl_bo *kgsl_bo = to_kgsl_bo(bo); in kgsl_bo_offset() local 73 int ret = bo_alloc(kgsl_bo); in kgsl_bo_offset() 76 *offset = kgsl_bo->offset; in kgsl_bo_offset() 122 struct kgsl_bo *kgsl_bo = to_kgsl_bo(bo); in kgsl_bo_destroy() local 123 free(kgsl_bo); in kgsl_bo_destroy() 163 struct kgsl_bo *kgsl_bo; in kgsl_bo_from_handle() local [all …]
|
D | kgsl_pipe.c | 126 struct kgsl_bo *kgsl_bo) in kgsl_pipe_add_submit() argument 129 struct fd_bo *bo = &kgsl_bo->base; in kgsl_pipe_add_submit() 130 struct list_head *list = &kgsl_bo->list[pipe->id]; in kgsl_pipe_add_submit() 143 struct kgsl_bo *kgsl_bo = NULL; in kgsl_pipe_pre_submit() local 148 LIST_FOR_EACH_ENTRY(kgsl_bo, &kgsl_pipe->submit_list, list[pipe->id]) { in kgsl_pipe_pre_submit() 149 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() 160 struct kgsl_bo *kgsl_bo = NULL, *tmp; in kgsl_pipe_post_submit() local 162 LIST_FOR_EACH_ENTRY_SAFE(kgsl_bo, tmp, &kgsl_pipe->submit_list, list[pipe->id]) { in kgsl_pipe_post_submit() 163 struct list_head *list = &kgsl_bo->list[pipe->id]; in kgsl_pipe_post_submit() 165 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 | 166 struct kgsl_bo *kgsl_bo = to_kgsl_bo(r->bo); in kgsl_ringbuffer_emit_reloc() local 167 uint32_t addr = kgsl_bo_gpuaddr(kgsl_bo, r->offset); in kgsl_ringbuffer_emit_reloc() 174 kgsl_pipe_add_submit(to_kgsl_pipe(ring->pipe), kgsl_bo); in kgsl_ringbuffer_emit_reloc()
|
D | kgsl_device.c | 60 dev->bo_size = sizeof(struct kgsl_bo); in kgsl_device_new()
|
/external/libdrm/freedreno/ |
D | Makefile.sources | 15 kgsl/kgsl_bo.c \
|
D | meson.build | 35 'kgsl/kgsl_bo.c',
|