Skip to content

Commit 164e00a

Browse files
krzklumag
authored andcommitted
drm/msm/dpu: Clear CTL_FETCH_PIPE_ACTIVE on mixer reset
Resetting mixers should also include resetting active fetch pipes. Fixes: ae4d721 ("drm/msm/dpu: add an API to reset the encoder related hw blocks") Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/651246/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 1d0a6c9 commit 164e00a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,9 @@ static void dpu_encoder_helper_reset_mixers(struct dpu_encoder_phys *phys_enc)
21942194
/* clear all blendstages */
21952195
if (ctl->ops.setup_blendstage)
21962196
ctl->ops.setup_blendstage(ctl, hw_mixer[i]->idx, NULL);
2197+
2198+
if (ctl->ops.set_active_fetch_pipes)
2199+
ctl->ops.set_active_fetch_pipes(ctl, NULL);
21972200
}
21982201
}
21992202

0 commit comments

Comments
 (0)