RE: [PATCH] drm/msm/disp/dpu1: remove supoerflous init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: dri-devel <dri-devel-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of
>Vinod Koul
>Sent: Tuesday, May 24, 2022 6:36 AM
>To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
>Cc: Liu, Yujie <yujie.liu@xxxxxxxxx>; linux-arm-msm@xxxxxxxxxxxxxxx; Abhinav
>Kumar <quic_abhinavk@xxxxxxxxxxx>; dri-devel@xxxxxxxxxxxxxxxxxxxxx; Bjorn
>Andersson <bjorn.andersson@xxxxxxxxxx>; Vinod Koul <vkoul@xxxxxxxxxx>;
>freedreno@xxxxxxxxxxxxxxxxxxxxx
>Subject: [PATCH] drm/msm/disp/dpu1: remove supoerflous init

s/supoerflous/superfluous/

m

>Commit 58dca9810749 ("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 supoerflous init.
>
>Fixes: 58dca9810749 ("drm/msm/disp/dpu1: Add support for DSC in encoder")
>Reported-by: kernel test robot <yujie.liu@xxxxxxxxx>
>Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
>---
> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
>b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
>index 51f24ba68375..388125c8bda1 100644
>--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
>+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
>@@ -1798,7 +1798,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;
>--
>2.34.1





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux