Home
last modified time | relevance | path

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

/external/libdrm/freedreno/kgsl/
Dkgsl_pipe.c39 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); in kgsl_pipe_get_param() local
42 *value = kgsl_pipe->devinfo.device_id; in kgsl_pipe_get_param()
45 *value = kgsl_pipe->devinfo.gpu_id; in kgsl_pipe_get_param()
48 *value = kgsl_pipe->devinfo.gmem_sizebytes; in kgsl_pipe_get_param()
51 *value = kgsl_pipe->devinfo.chip_id; in kgsl_pipe_get_param()
66 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); in kgsl_pipe_wait() local
74 ret = ioctl(kgsl_pipe->fd, IOCTL_KGSL_DEVICE_WAITTIMESTAMP, &req); in kgsl_pipe_wait()
79 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait()
83 drm_private int kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, in kgsl_pipe_timestamp() argument
89 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.c44 struct kgsl_pipe *pipe;
77 static struct kgsl_rb_bo * kgsl_rb_bo_new(struct kgsl_pipe *pipe, uint32_t size) in kgsl_rb_bo_new()
120 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(ring->pipe); in kgsl_ringbuffer_flush() local
128 .drawctxt_id = kgsl_pipe->drawctxt_id, in kgsl_ringbuffer_flush()
138 kgsl_pipe_pre_submit(kgsl_pipe); in kgsl_ringbuffer_flush()
153 ret = ioctl(kgsl_pipe->fd, IOCTL_KGSL_RINGBUFFER_ISSUEIBCMDS, &req); in kgsl_ringbuffer_flush()
161 kgsl_pipe_post_submit(kgsl_pipe, req.timestamp); in kgsl_ringbuffer_flush()
/external/libdrm/freedreno/
DMakefile.sources19 kgsl/kgsl_pipe.c \