Home
last modified time | relevance | path

Searched refs:msm_pipe (Results 1 – 13 of 13) sorted by relevance

/third_party/libdrm/freedreno/msm/
Dmsm_pipe.c34 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param() local
36 .pipe = msm_pipe->pipe, in query_param()
54 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param() local
58 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
61 *value = msm_pipe->gmem; in msm_pipe_get_param()
64 *value = msm_pipe->chip_id; in msm_pipe_get_param()
139 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_destroy() local
140 close_submitqueue(pipe, msm_pipe->queue_id); in msm_pipe_destroy()
142 if (msm_pipe->suballoc_ring) { in msm_pipe_destroy()
143 fd_ringbuffer_del(msm_pipe->suballoc_ring); in msm_pipe_destroy()
[all …]
Dmsm_ringbuffer.c151 struct msm_pipe *msm_pipe = to_msm_pipe(ring->pipe); in ring_cmd_new() local
155 if (msm_pipe->suballoc_ring) { in ring_cmd_new()
156 struct msm_ringbuffer *suballoc_ring = to_msm_ringbuffer(msm_pipe->suballoc_ring); in ring_cmd_new()
158 assert(msm_pipe->suballoc_ring->flags & FD_RINGBUFFER_OBJECT); in ring_cmd_new()
161 suballoc_bo = current_cmd(msm_pipe->suballoc_ring)->ring_bo; in ring_cmd_new()
163 suballoc_offset = fd_ringbuffer_size(msm_pipe->suballoc_ring) + in ring_cmd_new()
181 if (msm_pipe->suballoc_ring) in ring_cmd_new()
182 fd_ringbuffer_del(msm_pipe->suballoc_ring); in ring_cmd_new()
184 msm_pipe->suballoc_ring = fd_ringbuffer_ref(ring); in ring_cmd_new()
464 struct msm_pipe *msm_pipe = to_msm_pipe(ring->pipe); in msm_ringbuffer_flush() local
[all …]
Dmsm_priv.h53 struct msm_pipe { struct
73 static inline struct msm_pipe * to_msm_pipe(struct fd_pipe *x) in to_msm_pipe() argument
75 return (struct msm_pipe *)x; in to_msm_pipe()
/third_party/mesa3d/src/freedreno/drm/msm/
Dmsm_pipe.c35 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_param() local
37 .pipe = msm_pipe->pipe, in query_param()
55 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in query_queue_param() local
58 .id = msm_pipe->queue_id, in query_queue_param()
76 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in msm_pipe_get_param() local
80 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
83 *value = msm_pipe->gmem; in msm_pipe_get_param()
86 *value = msm_pipe->gmem_base; in msm_pipe_get_param()
89 *value = msm_pipe->chip_id; in msm_pipe_get_param()
112 struct msm_pipe *msm_pipe = to_msm_pipe(pipe); in set_param() local
[all …]
Dmsm_ringbuffer_sp.c40 struct msm_pipe *msm_pipe = to_msm_pipe(fd_submit->base.pipe); in flush_submit_list() local
42 .flags = msm_pipe->pipe, in flush_submit_list()
43 .queueid = msm_pipe->queue_id, in flush_submit_list()
53 assert(submit->pipe == &msm_pipe->base); in flush_submit_list()
107 msm_pipe->no_implicit_sync = true; in flush_submit_list()
110 if (msm_pipe->no_implicit_sync) { in flush_submit_list()
147 ret = drmCommandWriteRead(msm_pipe->base.dev->fd, DRM_MSM_GEM_SUBMIT, &req, in flush_submit_list()
Dmsm_priv.h49 struct msm_pipe { struct
64 FD_DEFINE_CAST(fd_pipe, msm_pipe); argument
Dmsm_ringbuffer.c273 struct msm_pipe *msm_pipe = to_msm_pipe(submit->pipe); in msm_submit_flush() local
275 .flags = msm_pipe->pipe, in msm_submit_flush()
276 .queueid = msm_pipe->queue_id, in msm_submit_flush()
/third_party/libdrm/freedreno/
DMakefile.sources10 msm/msm_pipe.c \
Dmeson.build29 'msm/msm_pipe.c',
/third_party/mesa3d/src/freedreno/drm/
Dmeson.build48 'msm/msm_pipe.c',
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst1283 - freedreno: Lock access to msm_pipe for RB object suballocation.
D21.2.0.rst2158 - freedreno: Lock access to msm_pipe for RB object suballocation.
/third_party/mesa3d/ohos/
Ddependency_inputs.gni1313 "../src/freedreno/drm/msm_pipe.c",