aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/drm/msm_pipe.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-07-29 11:48:06 -0700
committerRob Clark <[email protected]>2019-08-02 10:24:14 -0700
commite2bb3e84ab87bab1c1ce3c703bb69fccc82225c3 (patch)
tree351f69e33512c33638859a08b689f21f12e94753 /src/freedreno/drm/msm_pipe.c
parent9ac23794c9906366a8786f241ec63e1d4cf0cafd (diff)
freedreno/drm: convert ring_pool to child_pool
Worth another couple percent at driver2 Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/drm/msm_pipe.c')
-rw-r--r--src/freedreno/drm/msm_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/freedreno/drm/msm_pipe.c b/src/freedreno/drm/msm_pipe.c
index 718becbf782..2eef493b5d4 100644
--- a/src/freedreno/drm/msm_pipe.c
+++ b/src/freedreno/drm/msm_pipe.c
@@ -167,6 +167,7 @@ static void msm_pipe_destroy(struct fd_pipe *pipe)
{
struct msm_pipe *msm_pipe = to_msm_pipe(pipe);
close_submitqueue(pipe, msm_pipe->queue_id);
+ msm_pipe_sp_ringpool_init(msm_pipe);
free(msm_pipe);
}
@@ -244,6 +245,8 @@ struct fd_pipe * msm_pipe_new(struct fd_device *dev,
if (open_submitqueue(pipe, prio))
goto fail;
+ msm_pipe_sp_ringpool_init(msm_pipe);
+
return pipe;
fail:
if (pipe)