From: Andrey Grodzovsky <Andrey.Grodzovsky@xxxxxxx> Change-Id: I37d313ca0e17b0d446a68575cafa94165849024e Signed-off-by: Charlene Liu <charlene.liu at amd.com> Reviewed-by: Vitaly Prosyak <Vitaly.Prosyak at amd.com> Acked-by: Harry Wentland <Harry.Wentland at amd.com> --- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c index 875b98dae6e1..be6e3ca9fb0d 100644 --- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c +++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c @@ -856,8 +856,6 @@ bool dcn_validate_bandwidth( - pipe->stream->timing.v_front_porch; v->vactive[input_idx] = pipe->stream->timing.v_addressable; v->pixel_clock[input_idx] = pipe->stream->timing.pix_clk_khz / 1000.0f; - if (pipe->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) - v->pixel_clock[input_idx] /= 2; if (!pipe->surface){ -- 2.11.0