Skip to content

Commit 7520803

Browse files
krzklumag
authored andcommitted
drm/msm/dpu: Add handling of LM_6 and LM_7 bits in pending flush mask
MDSS/MDP v12 comes with new bits in flush registers (e.g. MDP_CTL_0_FLUSH) for Layer Mixer 6 and 7. Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Jessica Zhang <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/651260/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent a5539d0 commit 7520803

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ static void dpu_hw_ctl_update_pending_flush_mixer(struct dpu_hw_ctl *ctx,
261261
case LM_5:
262262
ctx->pending_flush_mask |= BIT(20);
263263
break;
264+
case LM_6:
265+
ctx->pending_flush_mask |= BIT(21);
266+
break;
267+
case LM_7:
268+
ctx->pending_flush_mask |= BIT(27);
269+
break;
264270
default:
265271
break;
266272
}

0 commit comments

Comments
 (0)