Home
last modified time | relevance | path

Searched refs:fd_pipe (Results 1 - 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/freedreno/drm/
H A Dfreedreno_pipe.c34 struct fd_pipe *
37 struct fd_pipe *pipe; in fd_pipe_new2()
88 struct fd_pipe *
94 struct fd_pipe *
95 fd_pipe_ref(struct fd_pipe *pipe) in fd_pipe_ref()
103 struct fd_pipe *
104 fd_pipe_ref_locked(struct fd_pipe *pipe) in fd_pipe_ref_locked()
112 fd_pipe_del(struct fd_pipe *pipe) in fd_pipe_del()
120 fd_pipe_del_locked(struct fd_pipe *pipe) in fd_pipe_del_locked()
135 fd_pipe_purge(struct fd_pipe *pip
[all...]
H A Dfreedreno_drmif.h40 struct fd_pipe;
150 struct fd_pipe *fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
151 struct fd_pipe *fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id,
153 struct fd_pipe *fd_pipe_ref(struct fd_pipe *pipe);
154 struct fd_pipe *fd_pipe_ref_locked(struct fd_pipe *pipe);
155 void fd_pipe_del(struct fd_pipe *pipe);
156 void fd_pipe_purge(struct fd_pipe *pipe);
157 const struct fd_dev_id * fd_pipe_dev_id(struct fd_pipe *pip
[all...]
H A Dfreedreno_priv.h103 struct fd_pipe *(*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
162 * Note: one would be tempted to put this in fd_pipe to avoid locking.
167 * 2) It is best for fd_pipe to not hold a reference to a BO that can
195 void fd_pipe_del_locked(struct fd_pipe *pipe);
198 struct fd_ringbuffer *(*ringbuffer_new_object)(struct fd_pipe *pipe,
200 struct fd_submit *(*submit_new)(struct fd_pipe *pipe);
206 void (*flush)(struct fd_pipe *pipe, uint32_t fence);
208 int (*get_param)(struct fd_pipe *pipe, enum fd_param_id param,
210 int (*set_param)(struct fd_pipe *pipe, enum fd_param_id param,
212 int (*wait)(struct fd_pipe *pip
223 struct fd_pipe { global() struct
[all...]
H A Dfreedreno_ringbuffer_sp.h107 struct fd_pipe *pipe;
121 void fd_pipe_sp_flush(struct fd_pipe *pipe, uint32_t fence);
123 struct fd_submit *fd_submit_sp_new(struct fd_pipe *pipe,
125 void fd_pipe_sp_ringpool_init(struct fd_pipe *pipe);
126 void fd_pipe_sp_ringpool_fini(struct fd_pipe *pipe);
127 struct fd_ringbuffer *fd_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size);
H A Dfreedreno_ringbuffer_sp.c205 struct fd_pipe *pipe = submit->pipe; in fd_submit_sp_flush_execute()
278 struct fd_pipe *pipe = submit->pipe; in fd_submit_sp_flush()
285 /* If there are deferred submits from another fd_pipe, flush them now, in fd_submit_sp_flush()
334 fd_pipe_sp_flush(struct fd_pipe *pipe, uint32_t fence) in fd_pipe_sp_flush()
350 * since each fd_pipe is an independent timeline. in fd_pipe_sp_flush()
413 fd_submit_sp_new(struct fd_pipe *pipe, flush_submit_list_fn flush_submit_list) in fd_submit_sp_new()
432 fd_pipe_sp_ringpool_init(struct fd_pipe *pipe) in fd_pipe_sp_ringpool_init()
439 fd_pipe_sp_ringpool_fini(struct fd_pipe *pipe) in fd_pipe_sp_ringpool_fini()
462 struct fd_pipe *pipe = fd_ring->u.submit->pipe; in fd_ringbuffer_sp_grow()
620 fd_ringbuffer_sp_new_object(struct fd_pipe *pip
[all...]
H A Dfreedreno_ringbuffer.c34 fd_submit_new(struct fd_pipe *pipe) in fd_submit_new()
92 fd_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new_object()
H A Dfreedreno_ringbuffer.h82 struct fd_submit *fd_submit_new(struct fd_pipe *pipe);
154 struct fd_ringbuffer *fd_ringbuffer_new_object(struct fd_pipe *pipe,
H A Dfreedreno_bo.c331 struct fd_pipe *pipe = f->pipe; in cleanup_fences()
502 fd_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in fd_bo_cpu_prep()
545 fd_bo_add_fence(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t fence) in fd_bo_add_fence()
/third_party/libdrm/freedreno/
H A Dfreedreno_drmif.h45 struct fd_pipe;
105 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
106 struct fd_pipe * fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio);
107 struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe);
108 void fd_pipe_del(struct fd_pipe *pipe);
109 int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param,
111 int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp);
113 int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp,
122 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pip
[all...]
H A Dfreedreno_pipe.c36 drm_public struct fd_pipe *
39 struct fd_pipe *pipe; in fd_pipe_new2()
68 drm_public struct fd_pipe *
74 drm_public struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe) in fd_pipe_ref()
80 drm_public void fd_pipe_del(struct fd_pipe *pipe) in fd_pipe_del()
87 drm_public int fd_pipe_get_param(struct fd_pipe *pipe, in fd_pipe_get_param()
93 drm_public int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) in fd_pipe_wait()
98 drm_public int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp, in fd_pipe_wait_timeout()
H A Dfreedreno_priv.h66 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
119 struct fd_ringbuffer * (*ringbuffer_new)(struct fd_pipe *pipe, uint32_t size,
121 int (*get_param)(struct fd_pipe *pipe, enum fd_param_id param, uint64_t *value);
122 int (*wait)(struct fd_pipe *pipe, uint32_t timestamp, uint64_t timeout);
123 void (*destroy)(struct fd_pipe *pipe);
126 struct fd_pipe { struct
150 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
H A Dfreedreno_ringbuffer.h67 struct fd_pipe *pipe;
93 struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe,
96 struct fd_ringbuffer * fd_ringbuffer_new_object(struct fd_pipe *pipe,
98 struct fd_ringbuffer * fd_ringbuffer_new_flags(struct fd_pipe *pipe,
H A Dfreedreno_ringbuffer.c36 fd_ringbuffer_new_flags(struct fd_pipe *pipe, uint32_t size, in fd_ringbuffer_new_flags()
63 fd_ringbuffer_new(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new()
69 fd_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new_object()
/third_party/mesa3d/src/freedreno/drm/msm/
H A Dmsm_pipe.c33 query_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_param()
53 query_queue_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_queue_param()
73 msm_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, in msm_pipe_get_param()
110 set_param(struct fd_pipe *pipe, uint32_t param, uint64_t value) in set_param()
124 msm_pipe_set_param(struct fd_pipe *pipe, enum fd_param_id param, uint64_t value) in msm_pipe_set_param()
136 msm_pipe_wait(struct fd_pipe *pipe, const struct fd_fence *fence, uint64_t timeout) in msm_pipe_wait()
156 open_submitqueue(struct fd_pipe *pipe, uint32_t prio) in open_submitqueue()
186 close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue()
196 msm_pipe_destroy(struct fd_pipe *pipe) in msm_pipe_destroy()
225 get_param(struct fd_pipe *pip
[all...]
H A Dmsm_priv.h50 struct fd_pipe base;
64 FD_DEFINE_CAST(fd_pipe, msm_pipe);
66 struct fd_pipe *msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id,
69 struct fd_ringbuffer *msm_ringbuffer_new_object(struct fd_pipe *pipe,
72 struct fd_submit *msm_submit_new(struct fd_pipe *pipe);
73 struct fd_submit *msm_submit_sp_new(struct fd_pipe *pipe);
H A Dmsm_ringbuffer.c105 struct fd_pipe *pipe;
422 msm_submit_new(struct fd_pipe *pipe) in msm_submit_new()
461 struct fd_pipe *pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_grow()
482 struct fd_pipe *pipe; in msm_ringbuffer_emit_reloc()
605 struct fd_pipe *pipe = submit->pipe; in msm_ringbuffer_check_size()
685 msm_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in msm_ringbuffer_new_object()
/third_party/libdrm/freedreno/msm/
H A Dmsm_pipe.c31 static int query_param(struct fd_pipe *pipe, uint32_t param, in query_param()
51 static int msm_pipe_get_param(struct fd_pipe *pipe, in msm_pipe_get_param()
78 static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in msm_pipe_wait()
99 static int open_submitqueue(struct fd_pipe *pipe, uint32_t prio) in open_submitqueue()
128 static void close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue()
137 static void msm_pipe_destroy(struct fd_pipe *pipe) in msm_pipe_destroy()
157 static uint64_t get_param(struct fd_pipe *pipe, uint32_t param) in get_param()
168 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev, in msm_pipe_new()
176 struct fd_pipe *pipe = NULL; in msm_pipe_new()
H A Dmsm_priv.h54 struct fd_pipe base;
64 * This takes advantage of each context having it's own fd_pipe,
73 static inline struct msm_pipe * to_msm_pipe(struct fd_pipe *x) in to_msm_pipe()
78 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev,
81 drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe,
/third_party/libdrm/freedreno/kgsl/
H A Dkgsl_priv.h46 struct fd_pipe base;
68 struct fd_pipe *p3d;
71 static inline struct kgsl_pipe * to_kgsl_pipe(struct fd_pipe *x) in to_kgsl_pipe()
76 drm_private int is_kgsl_pipe(struct fd_pipe *pipe);
105 drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev,
108 drm_private struct fd_ringbuffer * kgsl_ringbuffer_new(struct fd_pipe *pipe,
H A Dkgsl_pipe.c32 static int kgsl_pipe_get_param(struct fd_pipe *pipe, in kgsl_pipe_get_param()
60 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait()
96 static void kgsl_pipe_destroy(struct fd_pipe *pipe) in kgsl_pipe_destroy()
119 drm_private int is_kgsl_pipe(struct fd_pipe *pipe) in is_kgsl_pipe()
128 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_add_submit()
142 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_pre_submit()
159 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_post_submit()
178 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_process_pending()
209 drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev, in kgsl_pipe_new()
220 struct fd_pipe *pip in kgsl_pipe_new()
[all...]
H A Dkgsl_bo.c80 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep()
181 fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size) in fd_bo_from_fbdev()
/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_pipe.c30 query_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_param()
49 query_queue_param(struct fd_pipe *pipe, uint32_t param, uint64_t *value) in query_queue_param()
75 virtio_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param, in virtio_pipe_get_param()
116 virtio_pipe_wait(struct fd_pipe *pipe, const struct fd_fence *fence, uint64_t timeout) in virtio_pipe_wait()
146 open_submitqueue(struct fd_pipe *pipe, uint32_t prio) in open_submitqueue()
174 close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue()
180 virtio_pipe_destroy(struct fd_pipe *pipe) in virtio_pipe_destroy()
225 struct fd_pipe *
234 struct fd_pipe *pipe = NULL; in virtio_pipe_new()
H A Dvirtio_priv.h115 struct fd_pipe base;
156 FD_DEFINE_CAST(fd_pipe, virtio_pipe);
158 struct fd_pipe *virtio_pipe_new(struct fd_device *dev, enum fd_pipe_id id,
161 struct fd_submit *virtio_submit_new(struct fd_pipe *pipe);
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
H A Dcopy_file_range02.c52 static int fd_pipe[2]; variable
80 {&fd_pipe[0], 0, EINVAL, CONTSIZE, "pipe", 0},
181 if (fd_pipe[0] > 0) { in cleanup()
182 SAFE_CLOSE(fd_pipe[0]); in cleanup()
183 SAFE_CLOSE(fd_pipe[1]); in cleanup()
221 SAFE_PIPE(fd_pipe); in setup()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.h74 struct fd_pipe *pipe;

Completed in 11 milliseconds

12