tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: 84d24cb5247a356a4310a25761f8aa56b8814538 commit: 9e0f9464e2ab36b864359a59b0e9058fdef0ce47 [1/7] drm/i915/gem: Async GPU relocations only config: x86_64-randconfig-a011-20200605 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 6dd738e2f0609f7d3313b574a1d471263d2d3ba1) 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 git checkout 9e0f9464e2ab36b864359a59b0e9058fdef0ce47 # 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@xxxxxxxxx> All errors (new ones prefixed by >>, old ones prefixed by <<): >> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' [-Werror,-Wunused-function] static inline void *unmask_page(unsigned long p) ^ >> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:938:28: error: unused function 'unmask_flags' [-Werror,-Wunused-function] static inline unsigned int unmask_flags(unsigned long p) ^ >> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:945:33: error: unused function 'cache_to_ggtt' [-Werror,-Wunused-function] static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) ^ 3 errors generated. vim +/unmask_page +933 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c 5032d871f7d300 drivers/gpu/drm/i915/i915_gem_execbuffer.c Rafael Barbalho 2013-08-21 932 d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @933 static inline void *unmask_page(unsigned long p) d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 934 { d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 935 return (void *)(uintptr_t)(p & PAGE_MASK); d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 936 } d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 937 d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @938 static inline unsigned int unmask_flags(unsigned long p) d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 939 { d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 940 return p & ~PAGE_MASK; d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 941 } d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 942 d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 943 #define KMAP 0x4 /* after CLFLUSH_FLAGS */ d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 944 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 @945 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 946 { 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 947 struct drm_i915_private *i915 = 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 948 container_of(cache, struct i915_execbuffer, reloc_cache)->i915; 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 949 return &i915->ggtt; 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 950 } 650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 951 :::::: The code at line 933 was first introduced by commit :::::: d50415cc6c8395602052b39a1a39290fba3d313e drm/i915: Refactor execbuffer relocation writing :::::: TO: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> :::::: CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx