[Intel-gfx] [PATCH 06/31] drm/i915: Drop the CONTEXT_CLONE API (v2)

kernel test robot lkp at intel.com
Wed Jun 16 15:34:38 UTC 2021


Hi Jason,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next v5.13-rc6 next-20210615]
[cannot apply to drm/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/Jason-Ekstrand/drm-i915-gem-ioctl-clean-ups-v6/20210616-151016
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a002-20210616 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/b91148796ca5458a4a8b445e53d711d870391163
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jason-Ekstrand/drm-i915-gem-ioctl-clean-ups-v6/20210616-151016
        git checkout b91148796ca5458a4a8b445e53d711d870391163
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gem/i915_gem_context.c:364:1: error: unused function '__context_engines_static' [-Werror,-Wunused-function]
   __context_engines_static(const struct i915_gem_context *ctx)
   ^
   1 error generated.


vim +/__context_engines_static +364 drivers/gpu/drm/i915/gem/i915_gem_context.c

40521054fd46f9 drivers/gpu/drm/i915/i915_gem_context.c     Ben Widawsky 2012-06-04  362  
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  363  static inline struct i915_gem_engines *
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23 @364  __context_engines_static(const struct i915_gem_context *ctx)
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  365  {
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  366  	return rcu_dereference_protected(ctx->engines, true);
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  367  }
2e0986a58cc4f2 drivers/gpu/drm/i915/gem/i915_gem_context.c Chris Wilson 2019-10-23  368  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 38703 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210616/2eee3277/attachment-0001.gz>


More information about the Intel-gfx mailing list