* [linux-review:UPDATE-20200108-120056/Matthew-Auld/drm-i915-gtt-split-up-i915_gem_gtt/20200107-075300 1/1] drivers/gpu/drm/i915/gt/intel_ggtt.c:1234:3: error: implicit declaration of function 'wbinvd_on_all_cpus'
@ 2020-01-11 2:38 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-11 2:38 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2754 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200108-120056/Matthew-Auld/drm-i915-gtt-split-up-i915_gem_gtt/20200107-075300
head: 417ec79f80c949c3e7ffda14820fc1dab15a303b
commit: 417ec79f80c949c3e7ffda14820fc1dab15a303b [1/1] drm/i915/gtt: split up i915_gem_gtt
config: x86_64-randconfig-s0-20200109 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
git checkout 417ec79f80c949c3e7ffda14820fc1dab15a303b
# 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:1234:3: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror=implicit-function-declaration]
wbinvd_on_all_cpus();
^
cc1: some warnings being treated as errors
vim +/wbinvd_on_all_cpus +1234 drivers/gpu/drm/i915/gt/intel_ggtt.c
1191
1192 static void ggtt_restore_mappings(struct i915_ggtt *ggtt)
1193 {
1194 struct i915_vma *vma, *vn;
1195 bool flush = false;
1196 int open;
1197
1198 intel_gt_check_and_clear_faults(ggtt->vm.gt);
1199
1200 mutex_lock(&ggtt->vm.mutex);
1201
1202 /* First fill our portion of the GTT with scratch pages */
1203 ggtt->vm.clear_range(&ggtt->vm, 0, ggtt->vm.total);
1204
1205 /* Skip rewriting PTE on VMA unbind. */
1206 open = atomic_xchg(&ggtt->vm.open, 0);
1207
1208 /* clflush objects bound into the GGTT and rebind them. */
1209 list_for_each_entry_safe(vma, vn, &ggtt->vm.bound_list, vm_link) {
1210 struct drm_i915_gem_object *obj = vma->obj;
1211
1212 if (!i915_vma_is_bound(vma, I915_VMA_GLOBAL_BIND))
1213 continue;
1214
1215 if (!__i915_vma_unbind(vma))
1216 continue;
1217
1218 clear_bit(I915_VMA_GLOBAL_BIND_BIT, __i915_vma_flags(vma));
1219 WARN_ON(i915_vma_bind(vma,
1220 obj ? obj->cache_level : 0,
1221 PIN_GLOBAL, NULL));
1222 if (obj) { /* only used during resume => exclusive access */
1223 flush |= fetch_and_zero(&obj->write_domain);
1224 obj->read_domains |= I915_GEM_DOMAIN_GTT;
1225 }
1226 }
1227
1228 atomic_set(&ggtt->vm.open, open);
1229 ggtt->invalidate(ggtt);
1230
1231 mutex_unlock(&ggtt->vm.mutex);
1232
1233 if (flush)
> 1234 wbinvd_on_all_cpus();
1235 }
1236
---
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: 39759 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-11 2:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-11 2:38 [linux-review:UPDATE-20200108-120056/Matthew-Auld/drm-i915-gtt-split-up-i915_gem_gtt/20200107-075300 1/1] drivers/gpu/drm/i915/gt/intel_ggtt.c:1234:3: error: implicit declaration of function 'wbinvd_on_all_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.