[linux-next:pending-fixes 284/346] drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: error: implicit declaration of function '__gen8_emit_flush_dw'
From: kernel test robot <hidden>
Date: 2020-11-04 04:40:32
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes head: 3261d524354aac9d51eb78421293bf66b42c133e commit: c94d65d2ff6de3fb1214fd7ba993a47280f38308 [284/346] drm/i915/gt: Flush xcs before tgl breadcrumbs config: x86_64-randconfig-a014-20201103 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1fcd5d5655e29f85e12b402e32974f207cfedf32) 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c94d65d2ff6de3fb1214fd7ba993a47280f38308 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next pending-fixes git checkout c94d65d2ff6de3fb1214fd7ba993a47280f38308 # 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 <redacted> Note: the linux-next/pending-fixes HEAD 3261d524354aac9d51eb78421293bf66b42c133e builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>):
quoted
drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: error: implicit declaration of function '__gen8_emit_flush_dw' [-Werror,-Wimplicit-function-declaration]
cs = emit_xcs_breadcrumb(rq, __gen8_emit_flush_dw(cs, 0, 0, 0));
^
drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: note: did you mean 'gen8_emit_flush'?
drivers/gpu/drm/i915/gt/intel_lrc.c:4524:12: note: 'gen8_emit_flush' declared here
static int gen8_emit_flush(struct i915_request *request, u32 mode)
^quoted
drivers/gpu/drm/i915/gt/intel_lrc.c:4998:31: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'u32 *' (aka 'unsigned int *') [-Werror,-Wint-conversion]
cs = emit_xcs_breadcrumb(rq, __gen8_emit_flush_dw(cs, 0, 0, 0));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:4902:63: note: passing argument to parameter 'cs' here
static u32 *emit_xcs_breadcrumb(struct i915_request *rq, u32 *cs)
^
2 errors generated.
vim +/__gen8_emit_flush_dw +4998 drivers/gpu/drm/i915/gt/intel_lrc.c
4994
4995 static u32 *gen12_emit_fini_breadcrumb(struct i915_request *rq, u32 *cs)
4996 {
4997 /* XXX Stalling flush before seqno write; post-sync not */4998 cs = emit_xcs_breadcrumb(rq, __gen8_emit_flush_dw(cs, 0, 0, 0));
4999 return gen12_emit_fini_breadcrumb_tail(rq, cs); 5000 } 5001 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Attachments
- .config.gz [application/gzip] 39245 bytes