* Re: [Intel-gfx] [PATCH 02/14] drm/i915: Rename plane YUV order bits
[not found] <20211201152552.7821-3-ville.syrjala@linux.intel.com>
@ 2021-12-06 13:13 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-06 13:13 UTC (permalink / raw)
To: Ville Syrjala; +Cc: llvm, kbuild-all
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-Plane-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/archive/20211206/202112062144.pndb6yAj-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
reproduce (this is a W=1 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/9e3683729de554eb265e6f4d8ec9cfc6eb591e52
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ville-Syrjala/drm-i915-Plane-register-cleanup/20211202-010520
git checkout 9e3683729de554eb265e6f4d8ec9cfc6eb591e52
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/gvt/fb_decoder.c:430:21: error: use of undeclared identifier 'SPRITE_YUV_BYTE_ORDER_MASK'
yuv_order = (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_plane - 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 failed.
9f31d1063b434c Tina Zhang 2017-11-23 410 */
9f31d1063b434c Tina Zhang 2017-11-23 411 int intel_vgpu_decode_sprite_plane(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 = get_active_pipe(vgpu);
9f31d1063b434c Tina Zhang 2017-11-23 420 if (pipe >= 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 = vgpu_vreg_t(vgpu, SPRCTL(pipe));
9f31d1063b434c Tina Zhang 2017-11-23 424 plane->enabled = !!(val & SPRITE_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 = !!(val & SPRITE_TILED);
9f31d1063b434c Tina Zhang 2017-11-23 429 color_order = !!(val & SPRITE_RGB_ORDER_RGBX);
9f31d1063b434c Tina Zhang 2017-11-23 @430 yuv_order = (val & SPRITE_YUV_BYTE_ORDER_MASK) >>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-06 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20211201152552.7821-3-ville.syrjala@linux.intel.com>
2021-12-06 13:13 ` [Intel-gfx] [PATCH 02/14] drm/i915: Rename plane YUV order bits kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).