From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Sat, 11 Jan 2020 10:38:07 +0800 [thread overview]
Message-ID: <202001111004.4WDhxTac%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-01-11 2:38 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=202001111004.4WDhxTac%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 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.