Commit 6daf7e4a authored by Vinod Koul's avatar Vinod Koul Committed by Abhinav Kumar
Browse files

drm/msm/disp/dpu1: remove superfluous init



Commit 58dca981 ("drm/msm/disp/dpu1: Add support for DSC in
encoder") added dsc_common_mode variable which was set to zero but then
again programmed, so drop the superfluous init.

Fixes: 58dca981 ("drm/msm/disp/dpu1: Add support for DSC in encoder")
Reported-by: default avatarkernel test robot <yujie.liu@intel.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Patchwork: https://patchwork.freedesktop.org/patch/487208/
Link: https://lore.kernel.org/r/20220525073912.2706505-1-vkoul@kernel.org


Signed-off-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
parent 993a2adc
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1814,7 +1814,6 @@ static void dpu_encoder_prep_dsc(struct dpu_encoder_virt *dpu_enc,
		}
	}

	dsc_common_mode = 0;
	pic_width = dsc->drm->pic_width;

	dsc_common_mode = DSC_MODE_MULTIPLEX | DSC_MODE_SPLIT_PANEL;