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 <dmitry.baryshkov@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/651263/ Link: https://lore.kernel.org/r/20250430-b4-sm8750-display-v5-10-8cab30c3e4df@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 3c072d5 commit 2e162df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)