Skip to content

Commit 3c072d5

Browse files
krzklumag
authored andcommitted
drm/msm/dpu: Clear CTL_FETCH_PIPE_ACTIVE on ctl_path reset
Resetting entire CTL path should also include resetting active fetch pipes. Fixes: e1a950e ("drm/msm/dpu: add reset_intf_cfg operation for dpu_hw_ctl") Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/651252/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 164e00a commit 3c072d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,9 @@ static void dpu_hw_ctl_reset_intf_cfg_v1(struct dpu_hw_ctl *ctx,
672672

673673
dpu_hw_ctl_clear_all_blendstages(ctx);
674674

675+
if (ctx->ops.set_active_fetch_pipes)
676+
ctx->ops.set_active_fetch_pipes(ctx, NULL);
677+
675678
if (cfg->intf) {
676679
intf_active = DPU_REG_READ(c, CTL_INTF_ACTIVE);
677680
intf_active &= ~BIT(cfg->intf - INTF_0);

0 commit comments

Comments
 (0)