* [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'
@ 2020-11-04 4:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-04 4:39 UTC (permalink / raw)
To: Chris Wilson
Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
Rodrigo Vivi
[-- Attachment #1: Type: text/plain, Size: 3085 bytes --]
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 <lkp@intel.com>
Note: the linux-next/pending-fixes HEAD 3261d524354aac9d51eb78421293bf66b42c133e builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> 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)
^
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39245 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-04 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 4:39 [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' 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