From: Aric Cyr Date: Sun, 5 Apr 2020 19:35:16 +0000 (-0400) Subject: drm/amd/display: Update MPCC if requested X-Git-Tag: block-5.8-2020-06-11~21^2~15^2~48 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=68c10ac91f88babd7c8e273e5cdae892111ba334;p=linux-block.git drm/amd/display: Update MPCC if requested Don't skip MPCC tree updates if requested. Signed-off-by: Aric Cyr Reviewed-by: Joshua Aberback Acked-by: Rodrigo Siqueira Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c index efc7fb4cf44d..6ad4ed7da629 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c @@ -2175,7 +2175,8 @@ void dcn20_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx) mpcc_id = hubp->inst; /* If there is no full update, don't need to touch MPC tree*/ - if (!pipe_ctx->plane_state->update_flags.bits.full_update) { + if (!pipe_ctx->plane_state->update_flags.bits.full_update && + !pipe_ctx->update_flags.bits.mpcc) { mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); return; }