Home
last modified time | relevance | path

Searched refs:kgsl_pipe (Results 1 – 5 of 5) sorted by relevance

/third_party/libdrm/freedreno/kgsl/
Dkgsl_pipe.c35 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); in kgsl_pipe_get_param() local
38 *value = kgsl_pipe->devinfo.device_id; in kgsl_pipe_get_param()
41 *value = kgsl_pipe->devinfo.gpu_id; in kgsl_pipe_get_param()
44 *value = kgsl_pipe->devinfo.gmem_sizebytes; in kgsl_pipe_get_param()
47 *value = kgsl_pipe->devinfo.chip_id; in kgsl_pipe_get_param()
63 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); in kgsl_pipe_wait() local
71 ret = ioctl(kgsl_pipe->fd, IOCTL_KGSL_DEVICE_WAITTIMESTAMP, &req); in kgsl_pipe_wait()
76 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait()
80 drm_private int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, in kgsl_pipe_timestamp() argument
86 int ret = ioctl(kgsl_pipe->fd, IOCTL_KGSL_CMDSTREAM_READTIMESTAMP, &req); in kgsl_pipe_timestamp()
[all …]
Dkgsl_priv.h45 struct kgsl_pipe { struct
71 static inline struct kgsl_pipe * to_kgsl_pipe(struct fd_pipe *x) in to_kgsl_pipe() argument
73 return (struct kgsl_pipe *)x; in to_kgsl_pipe()
96 drm_private int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe,
98 drm_private void kgsl_pipe_add_submit(struct kgsl_pipe *pipe,
100 drm_private void kgsl_pipe_pre_submit(struct kgsl_pipe *pipe);
101 drm_private void kgsl_pipe_post_submit(struct kgsl_pipe *pipe,
103 drm_private void kgsl_pipe_process_pending(struct kgsl_pipe *pipe,
Dkgsl_ringbuffer.c41 struct kgsl_pipe *pipe;
74 static struct kgsl_rb_bo * kgsl_rb_bo_new(struct kgsl_pipe *pipe, uint32_t size) in kgsl_rb_bo_new()
117 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(ring->pipe); in kgsl_ringbuffer_flush() local
125 .drawctxt_id = kgsl_pipe->drawctxt_id, in kgsl_ringbuffer_flush()
135 kgsl_pipe_pre_submit(kgsl_pipe); in kgsl_ringbuffer_flush()
150 ret = ioctl(kgsl_pipe->fd, IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS, &req); in kgsl_ringbuffer_flush()
158 kgsl_pipe_post_submit(kgsl_pipe, req.timestamp); in kgsl_ringbuffer_flush()
/third_party/libdrm/freedreno/
DMakefile.sources18 kgsl/kgsl_pipe.c \
Dmeson.build37 'kgsl/kgsl_pipe.c',