public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [Intel-gfx] [PATCH 02/14] drm/i915: Rename plane YUV order bits
Date: Mon, 6 Dec 2021 21:13:38 +0800	[thread overview]
Message-ID: <202112062144.pndb6yAj-lkp@intel.com> (raw)
In-Reply-To: <20211201152552.7821-3-ville.syrjala@linux.intel.com>

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

           reply	other threads:[~2021-12-06 13:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20211201152552.7821-3-ville.syrjala@linux.intel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202112062144.pndb6yAj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    --cc=ville.syrjala@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox