Skip to content

Commit 2e162df

Browse files
krzklumag
authored andcommitted
drm/msm/dpu: Clear CTL_FETCH_PIPE_ACTIVE before blend setup
Before blend setup, all existing blend stages are cleared, so shall be active fetch pipes. Fixes: b3652e8 ("drm/msm/disp/dpu1: add support to program fetch active in ctl path") Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/651263/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 3c072d5 commit 2e162df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ static void _dpu_crtc_blend_setup(struct drm_crtc *crtc)
519519
if (mixer[i].lm_ctl->ops.clear_all_blendstages)
520520
mixer[i].lm_ctl->ops.clear_all_blendstages(
521521
mixer[i].lm_ctl);
522+
if (mixer[i].lm_ctl->ops.set_active_fetch_pipes)
523+
mixer[i].lm_ctl->ops.set_active_fetch_pipes(mixer[i].lm_ctl, NULL);
522524
}
523525

524526
/* initialize stage cfg */

0 commit comments

Comments
 (0)