Commit 3c072d50 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Dmitry Baryshkov
Browse files

drm/msm/dpu: Clear CTL_FETCH_PIPE_ACTIVE on ctl_path reset



Resetting entire CTL path should also include resetting active fetch
pipes.

Fixes: e1a950ee ("drm/msm/dpu: add reset_intf_cfg operation for dpu_hw_ctl")
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/651252/
Link: https://lore.kernel.org/r/20250430-b4-sm8750-display-v5-9-8cab30c3e4df@linaro.org


Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
parent 164e00a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -672,6 +672,9 @@ static void dpu_hw_ctl_reset_intf_cfg_v1(struct dpu_hw_ctl *ctx,

	dpu_hw_ctl_clear_all_blendstages(ctx);

	if (ctx->ops.set_active_fetch_pipes)
		ctx->ops.set_active_fetch_pipes(ctx, NULL);

	if (cfg->intf) {
		intf_active = DPU_REG_READ(c, CTL_INTF_ACTIVE);
		intf_active &= ~BIT(cfg->intf - INTF_0);