drm/amd/display: fix 4to1 odm MPC_OUT_FLOW_CONTROL_COUNT
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 3 Jun 2020 17:33:46 +0000 (13:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:25 +0000 (01:59 -0400)
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c

index 789e33fae016229ae70d56ba5c90d65ca513f21c..5621c95177d20867538579a15bba511638f41cf9 100644 (file)
@@ -618,7 +618,7 @@ static int calc_mpc_flow_ctrl_cnt(const struct dc_stream_state *stream,
        bool hblank_halved = optc2_is_two_pixels_per_containter(&stream->timing);
        int flow_ctrl_cnt;
 
-       if (opp_cnt == 2)
+       if (opp_cnt >= 2)
                hblank_halved = true;
 
        flow_ctrl_cnt = stream->timing.h_total - stream->timing.h_addressable -