[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202510300519.RG1ckAUY-lkp@intel.com>
Date: Thu, 30 Oct 2025 06:04:25 +0800
From: kernel test robot <lkp@...el.com>
To: Thomas Hellström <thomas.hellstrom@...ux.intel.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Lucas De Marchi <lucas.demarchi@...el.com>,
Matthew Auld <matthew.auld@...el.com>,
Matthew Brost <matthew.brost@...el.com>
Subject: drivers/gpu/drm/xe/xe_svm.h:217:44: error: too many arguments to
function call, expected 10, have 11
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@...el.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@...el.com>
:::::: CC: Matthew Auld <matthew.auld@...el.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists