mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Lucas De Marchi <lucas.demarchi@intel.com>,
	Matthew Auld <matthew.auld@intel.com>,
	Matthew Brost <matthew.brost@intel.com>
Subject: drivers/gpu/drm/xe/xe_svm.h:217:44: error: too many arguments to function call, expected 10, have 11
Date: Thu, 30 Oct 2025 06:04:25 +0800	[thread overview]
Message-ID: <202510300519.RG1ckAUY-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e53642b87a4f4b03a8d7e5f8507fc3cd0c595ea6
commit: 10aa5c80603088d10c2cd5e7e27d561a8fb59c7e drm/gpusvm, drm/xe: Fix userptr to not allow device private pages
date:   4 weeks ago
config: x86_64-randconfig-076-20251030 (https://download.01.org/0day-ci/archive/20251030/202510300519.RG1ckAUY-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251030/202510300519.RG1ckAUY-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510300519.RG1ckAUY-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/xe/xe_gt_pagefault.c:22:
>> drivers/gpu/drm/xe/xe_svm.h:217:44: error: too many arguments to function call, expected 10, have 11
     216 |         return drm_gpusvm_init(&vm->svm.gpusvm, "Xe SVM (simple)", &vm->xe->drm,
         |                ~~~~~~~~~~~~~~~
     217 |                                NULL, NULL, 0, 0, 0, NULL, NULL, 0);
         |                                                                 ^
   include/drm/drm_gpusvm.h:251:5: note: 'drm_gpusvm_init' declared here
     251 | int drm_gpusvm_init(struct drm_gpusvm *gpusvm,
         |     ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~
     252 |                     const char *name, struct drm_device *drm,
         |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     253 |                     struct mm_struct *mm,
         |                     ~~~~~~~~~~~~~~~~~~~~~
     254 |                     unsigned long mm_start, unsigned long mm_range,
         |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     255 |                     unsigned long notifier_size,
         |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     256 |                     const struct drm_gpusvm_ops *ops,
         |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     257 |                     const unsigned long *chunk_sizes, int num_chunks);
         |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +217 drivers/gpu/drm/xe/xe_svm.h

0c30c65473ff37 Matthew Brost 2025-03-05  211  
6fd979c2f33150 Matthew Brost 2025-03-05  212  static inline
6fd979c2f33150 Matthew Brost 2025-03-05  213  int xe_svm_init(struct xe_vm *vm)
6fd979c2f33150 Matthew Brost 2025-03-05  214  {
9e978741488261 Matthew Auld  2025-08-28  215  #if IS_ENABLED(CONFIG_DRM_GPUSVM)
9e978741488261 Matthew Auld  2025-08-28  216  	return drm_gpusvm_init(&vm->svm.gpusvm, "Xe SVM (simple)", &vm->xe->drm,
9e978741488261 Matthew Auld  2025-08-28 @217  			       NULL, NULL, 0, 0, 0, NULL, NULL, 0);
9e978741488261 Matthew Auld  2025-08-28  218  #else
6fd979c2f33150 Matthew Brost 2025-03-05  219  	return 0;
9e978741488261 Matthew Auld  2025-08-28  220  #endif
6fd979c2f33150 Matthew Brost 2025-03-05  221  }
6fd979c2f33150 Matthew Brost 2025-03-05  222  

:::::: The code at line 217 was first introduced by commit
:::::: 9e978741488261e117bb50e5dfcf8e4080990958 drm/xe/userptr: replace xe_hmm with gpusvm

:::::: TO: Matthew Auld <matthew.auld@intel.com>
:::::: CC: Matthew Auld <matthew.auld@intel.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-10-29 22:04 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=202510300519.RG1ckAUY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=lucas.demarchi@intel.com \
    --cc=matthew.auld@intel.com \
    --cc=matthew.brost@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=thomas.hellstrom@linux.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

all inboxes | Powered by JetHome®