summaryrefslogtreecommitdiffstats
path: root/src/freedreno/drm/msm_pipe.c
diff options
context:
space:
mode:
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)