linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [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'
Date: Wed, 4 Nov 2020 12:39:37 +0800	[thread overview]
Message-ID: <202011041234.Oern22Q8-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-11-04  4:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202011041234.Oern22Q8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=rodrigo.vivi@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