Content-Type: multipart/mixed; boundary="===============6435403296406388654==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [Intel-gfx] [PATCH 02/14] drm/i915: Rename plane YUV order bits Date: Mon, 06 Dec 2021 21:13:38 +0800 Message-ID: <202112062144.pndb6yAj-lkp@intel.com> In-Reply-To: <20211201152552.7821-3-ville.syrjala@linux.intel.com> List-Id: --===============6435403296406388654== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ville, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [cannot apply to drm-tip/drm-tip v5.16-rc4 next-20211206] [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/Ville-Syrjala/drm-i915-Pla= ne-register-cleanup/20211202-010520 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-a012-20211130 (https://download.01.org/0day-ci/ar= chive/20211206/202112062144.pndb6yAj-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b5532= 97ef3ee4dc2119d5429adf3072e90fac38) 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/9e3683729de554eb265e6f4d8= ec9cfc6eb591e52 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Ville-Syrjala/drm-i915-Plane-regis= ter-cleanup/20211202-010520 git checkout 9e3683729de554eb265e6f4d8ec9cfc6eb591e52 # 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=3Dx86_64 SHELL=3D/bin/bash drivers/gpu/ 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/i915/gvt/fb_decoder.c:430:21: error: use of undeclared i= dentifier 'SPRITE_YUV_BYTE_ORDER_MASK' yuv_order =3D (val & SPRITE_YUV_BYTE_ORDER_MASK) >> ^ 1 error generated. vim +/SPRITE_YUV_BYTE_ORDER_MASK +430 drivers/gpu/drm/i915/gvt/fb_decoder.c 9f31d1063b434c Tina Zhang 2017-11-23 401 = 9f31d1063b434c Tina Zhang 2017-11-23 402 /** 9f31d1063b434c Tina Zhang 2017-11-23 403 * intel_vgpu_decode_sprite_pla= ne - Decode sprite plane 9f31d1063b434c Tina Zhang 2017-11-23 404 * @vgpu: input vgpu 9f31d1063b434c Tina Zhang 2017-11-23 405 * @plane: sprite plane to save= decoded info 9f31d1063b434c Tina Zhang 2017-11-23 406 * This function is called for = decoding plane 9f31d1063b434c Tina Zhang 2017-11-23 407 * 9f31d1063b434c Tina Zhang 2017-11-23 408 * Returns: 9f31d1063b434c Tina Zhang 2017-11-23 409 * 0 on success, non-zero if fa= iled. 9f31d1063b434c Tina Zhang 2017-11-23 410 */ 9f31d1063b434c Tina Zhang 2017-11-23 411 int intel_vgpu_decode_sprite_pl= ane(struct intel_vgpu *vgpu, 9f31d1063b434c Tina Zhang 2017-11-23 412 struct intel_vgpu_sprite_plane= _format *plane) 9f31d1063b434c Tina Zhang 2017-11-23 413 { 9f31d1063b434c Tina Zhang 2017-11-23 414 u32 val, fmt; 9f31d1063b434c Tina Zhang 2017-11-23 415 u32 color_order, yuv_order; 9f31d1063b434c Tina Zhang 2017-11-23 416 int drm_format; 9f31d1063b434c Tina Zhang 2017-11-23 417 int pipe; 9f31d1063b434c Tina Zhang 2017-11-23 418 = 9f31d1063b434c Tina Zhang 2017-11-23 419 pipe =3D get_active_pipe(vgpu); 9f31d1063b434c Tina Zhang 2017-11-23 420 if (pipe >=3D I915_MAX_PIPES) 9f31d1063b434c Tina Zhang 2017-11-23 421 return -ENODEV; 9f31d1063b434c Tina Zhang 2017-11-23 422 = 90551a1296d4db Zhenyu Wang 2017-12-19 423 val =3D vgpu_vreg_t(vgpu, SPRC= TL(pipe)); 9f31d1063b434c Tina Zhang 2017-11-23 424 plane->enabled =3D !!(val & SP= RITE_ENABLE); 9f31d1063b434c Tina Zhang 2017-11-23 425 if (!plane->enabled) 9f31d1063b434c Tina Zhang 2017-11-23 426 return -ENODEV; 9f31d1063b434c Tina Zhang 2017-11-23 427 = 9f31d1063b434c Tina Zhang 2017-11-23 428 plane->tiled =3D !!(val & SPRI= TE_TILED); 9f31d1063b434c Tina Zhang 2017-11-23 429 color_order =3D !!(val & SPRIT= E_RGB_ORDER_RGBX); 9f31d1063b434c Tina Zhang 2017-11-23 @430 yuv_order =3D (val & SPRITE_YU= V_BYTE_ORDER_MASK) >> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6435403296406388654==--