]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm/dpu: Clear CTL_FETCH_PIPE_ACTIVE before blend setup
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 30 Apr 2025 13:00:40 +0000 (15:00 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 12 May 2025 16:18:49 +0000 (19:18 +0300)
Before blend setup, all existing blend stages are cleared, so shall be
active fetch pipes.

Fixes: b3652e87c03c ("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>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c

index 2d7af6fff2708c12520a78cc6c979b9930dffc95..a4b0fe0d9899b32141928f0b6a16503a49b3c27a 100644 (file)
@@ -519,6 +519,8 @@ static void _dpu_crtc_blend_setup(struct drm_crtc *crtc)
                if (mixer[i].lm_ctl->ops.clear_all_blendstages)
                        mixer[i].lm_ctl->ops.clear_all_blendstages(
                                        mixer[i].lm_ctl);
+               if (mixer[i].lm_ctl->ops.set_active_fetch_pipes)
+                       mixer[i].lm_ctl->ops.set_active_fetch_pipes(mixer[i].lm_ctl, NULL);
        }
 
        /* initialize stage cfg */