* [linux-next:master 6641/7838] drivers/gpu/drm/i915/gt/intel_ggtt.c:1239:3: error: implicit declaration of function 'wbinvd_on_all_cpus'; did you mean 'wrmsr_on_cpus'?
@ 2020-01-12 2:03 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-12 2:03 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2747 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6c09d7dbb7d366122d0218bc7487e0a1e6cca6ed
commit: 2c86e55d2ab55b036d901384eae43fdae4487459 [6641/7838] drm/i915/gtt: split up i915_gem_gtt
config: x86_64-randconfig-a001-20200110 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 2c86e55d2ab55b036d901384eae43fdae4487459
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_ggtt.c: In function 'ggtt_restore_mappings':
>> drivers/gpu/drm/i915/gt/intel_ggtt.c:1239:3: error: implicit declaration of function 'wbinvd_on_all_cpus'; did you mean 'wrmsr_on_cpus'? [-Werror=implicit-function-declaration]
wbinvd_on_all_cpus();
^~~~~~~~~~~~~~~~~~
wrmsr_on_cpus
cc1: some warnings being treated as errors
vim +1239 drivers/gpu/drm/i915/gt/intel_ggtt.c
1196
1197 static void ggtt_restore_mappings(struct i915_ggtt *ggtt)
1198 {
1199 struct i915_vma *vma, *vn;
1200 bool flush = false;
1201 int open;
1202
1203 intel_gt_check_and_clear_faults(ggtt->vm.gt);
1204
1205 mutex_lock(&ggtt->vm.mutex);
1206
1207 /* First fill our portion of the GTT with scratch pages */
1208 ggtt->vm.clear_range(&ggtt->vm, 0, ggtt->vm.total);
1209
1210 /* Skip rewriting PTE on VMA unbind. */
1211 open = atomic_xchg(&ggtt->vm.open, 0);
1212
1213 /* clflush objects bound into the GGTT and rebind them. */
1214 list_for_each_entry_safe(vma, vn, &ggtt->vm.bound_list, vm_link) {
1215 struct drm_i915_gem_object *obj = vma->obj;
1216
1217 if (!i915_vma_is_bound(vma, I915_VMA_GLOBAL_BIND))
1218 continue;
1219
1220 if (!__i915_vma_unbind(vma))
1221 continue;
1222
1223 clear_bit(I915_VMA_GLOBAL_BIND_BIT, __i915_vma_flags(vma));
1224 WARN_ON(i915_vma_bind(vma,
1225 obj ? obj->cache_level : 0,
1226 PIN_GLOBAL, NULL));
1227 if (obj) { /* only used during resume => exclusive access */
1228 flush |= fetch_and_zero(&obj->write_domain);
1229 obj->read_domains |= I915_GEM_DOMAIN_GTT;
1230 }
1231 }
1232
1233 atomic_set(&ggtt->vm.open, open);
1234 ggtt->invalidate(ggtt);
1235
1236 mutex_unlock(&ggtt->vm.mutex);
1237
1238 if (flush)
> 1239 wbinvd_on_all_cpus();
1240 }
1241
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39390 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-12 2:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-12 2:03 [linux-next:master 6641/7838] drivers/gpu/drm/i915/gt/intel_ggtt.c:1239:3: error: implicit declaration of function 'wbinvd_on_all_cpus'; did you mean 'wrmsr_on_cpus'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.