Content-Type: multipart/mixed; boundary="===============5626450465516064244==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] [RFC] drm: mxsfb: Implement LCDIF scanout CRC32 support Date: Mon, 07 Feb 2022 05:50:33 +0800 Message-ID: <202202070546.PJcFF726-lkp@intel.com> In-Reply-To: <20220206185643.275811-1-marex@denx.de> List-Id: --===============5626450465516064244== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Marek, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on drm/drm-next] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip drm-exyn= os/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/Marek-Vasut/drm-mxsfb-Impl= ement-LCDIF-scanout-CRC32-support/20220207-025808 base: git://anongit.freedesktop.org/drm/drm drm-next config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220= 207/202202070546.PJcFF726-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6daaf5= a44925592c764c59219b0024ee06317028) 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/75b77e11a90d2a041b405a10d= ce7e1be6aab61a0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Marek-Vasut/drm-mxsfb-Implement-LC= DIF-scanout-CRC32-support/20220207-025808 git checkout 75b77e11a90d2a041b405a10dce7e1be6aab61a0 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash drivers/gpu/drm/mxsfb/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/mxsfb/mxsfb_drv.c:324:33: error: too many arguments to f= unction call, expected single argument 'addr', have 2 arguments u32 hwcrc =3D readl(mxsfb->base, LCDC_V4_CRC_STAT); ~~~~~ ^~~~~~~~~~~~~~~~ drivers/gpu/drm/mxsfb/mxsfb_regs.h:29:27: note: expanded from macro 'LCD= C_V4_CRC_STAT' #define LCDC_V4_CRC_STAT 0x1a0 ^~~~~ arch/x86/include/asm/io.h:60:17: note: 'readl' declared here build_mmio_read(readl, "l", unsigned int, "=3Dr", :"memory") ^ 1 error generated. vim +/addr +324 drivers/gpu/drm/mxsfb/mxsfb_drv.c 317 = 318 static ssize_t mxsfb_frame_checksum_show(struct device *dev, 319 struct device_attribute *attr, 320 char *buf) 321 { 322 struct drm_device *drm =3D dev_get_drvdata(dev); 323 struct mxsfb_drm_private *mxsfb =3D drm->dev_private; > 324 u32 hwcrc =3D readl(mxsfb->base, LCDC_V4_CRC_STAT); 325 u32 swcrc =3D 0xffffffff; 326 int i; 327 = 328 if (mxsfb->gem_vaddr) { 329 for (i =3D 0; i < mxsfb->gem_size / 4; i++) { 330 u32 data =3D bitrev32(((u32 *)mxsfb->gem_vaddr)[i]); 331 swcrc =3D crc32(swcrc, &data, 4); 332 } 333 swcrc =3D bitrev32(swcrc); 334 } 335 = 336 return sysfs_emit(buf, "HW:%08x,SW:%08x,OK:%d\n", hwcrc, swcrc, hwc= rc =3D=3D swcrc); 337 } 338 static DEVICE_ATTR(frame_checksum, 0444, mxsfb_frame_checksum_show, = NULL); 339 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5626450465516064244==--