From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7046038973005369845==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 04/12] drm/msm/dpu: add changes to support writeback in hw_ctl Date: Sat, 05 Feb 2022 07:35:22 +0800 Message-ID: <202202050710.g3cSpqJp-lkp@intel.com> In-Reply-To: <1644009445-17320-5-git-send-email-quic_abhinavk@quicinc.com> List-Id: --===============7046038973005369845== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Abhinav, I love your patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-intel/for-linux-next drm-tip/drm-tip drm-ex= ynos/exynos-drm-next tegra-drm/drm/tegra/for-next v5.17-rc2 next-20220204] [cannot apply to airlied/drm-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Abhinav-Kumar/Add-writebac= k-block-support-for-DPU/20220205-052314 base: git://anongit.freedesktop.org/drm/drm drm-next config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/2022020= 5/202202050710.g3cSpqJp-lkp(a)intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/961bbd92de806e7b8d9317153= 9244b35660a032a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Abhinav-Kumar/Add-writeback-block-= support-for-DPU/20220205-052314 git checkout 961bbd92de806e7b8d93171539244b35660a032a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash drivers/gpu/drm/msm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c: In function 'dpu_hw_ctl_rese= t_intf_cfg_v1': >> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:583:13: warning: variable 'me= rge3d_active' set but not used [-Wunused-but-set-variable] 583 | u32 merge3d_active =3D 0; | ^~~~~~~~~~~~~~ vim +/merge3d_active +583 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c 576 = 577 static void dpu_hw_ctl_reset_intf_cfg_v1(struct dpu_hw_ctl *ctx, 578 struct dpu_hw_intf_cfg *cfg, bool is_wb) 579 { 580 struct dpu_hw_blk_reg_map *c =3D &ctx->hw; 581 u32 intf_active =3D 0; 582 u32 wb_active =3D 0; > 583 u32 merge3d_active =3D 0; 584 = 585 if (cfg->merge_3d) { 586 merge3d_active =3D DPU_REG_READ(c, CTL_MERGE_3D_ACTIVE); 587 DPU_REG_WRITE(c, CTL_MERGE_3D_ACTIVE, 588 BIT(cfg->merge_3d - MERGE_3D_0)); 589 } 590 = 591 dpu_hw_ctl_clear_all_blendstages(ctx); 592 = 593 if (!is_wb) { 594 intf_active =3D DPU_REG_READ(c, CTL_INTF_ACTIVE); 595 intf_active &=3D ~BIT(cfg->intf - INTF_0); 596 DPU_REG_WRITE(c, CTL_INTF_ACTIVE, intf_active); 597 } else { 598 wb_active =3D DPU_REG_READ(c, CTL_WB_ACTIVE); 599 wb_active &=3D ~BIT(cfg->wb - WB_0); 600 DPU_REG_WRITE(c, CTL_WB_ACTIVE, wb_active); 601 } 602 } 603 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7046038973005369845==--