[radeon-alex:amd-mainline-dkms-5.0 2453/3724] include/kcl/kcl_fence.h:6:10: fatal error: linux/fence.h: No such file or directory
kbuild test robot
lkp at intel.com
Thu Sep 19 01:21:02 UTC 2019
tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.0
head: a51a5ad4b8daf0dd0a437d51a19c2baa98953675
commit: cde0ab5e1f7cce36c771989aa4142e5607f4fa6e [2453/3724] drm/amd/autoconf: Test if fence is renamed to dma_fence.
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout cde0ab5e1f7cce36c771989aa4142e5607f4fa6e
# 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 at intel.com>
Note: the radeon-alex/amd-mainline-dkms-5.0 HEAD a51a5ad4b8daf0dd0a437d51a19c2baa98953675 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/scheduler/backport/backport.h:5:0,
from <command-line>:0:
>> include/kcl/kcl_fence.h:6:10: fatal error: linux/fence.h: No such file or directory
#include <linux/fence.h>
^~~~~~~~~~~~~~~
compilation terminated.
vim +6 include/kcl/kcl_fence.h
6ab2f507957f67 Junwei Zhang 2016-12-23 3
6ab2f507957f67 Junwei Zhang 2016-12-23 4 #include <linux/version.h>
cde0ab5e1f7cce Yifan Zhang 2019-07-22 5 #if !defined(RENAME_FENCE_TO_DMA_FENCE)
6ab2f507957f67 Junwei Zhang 2016-12-23 @6 #include <linux/fence.h>
6ab2f507957f67 Junwei Zhang 2016-12-23 7 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
6ab2f507957f67 Junwei Zhang 2016-12-23 8 #include <linux/fence-array.h>
6ab2f507957f67 Junwei Zhang 2016-12-23 9 #endif
6ab2f507957f67 Junwei Zhang 2016-12-23 10 #include <kcl/kcl_fence_array.h>
6ab2f507957f67 Junwei Zhang 2016-12-23 11 #else
6ab2f507957f67 Junwei Zhang 2016-12-23 12 #include <linux/dma-fence.h>
6ab2f507957f67 Junwei Zhang 2016-12-23 13 #include <linux/dma-fence-array.h>
6ab2f507957f67 Junwei Zhang 2016-12-23 14 #endif
6ab2f507957f67 Junwei Zhang 2016-12-23 15
:::::: The code at line 6 was first introduced by commit
:::::: 6ab2f507957f676d2bbdccaaaec570a3d1901fc7 drm/amdkcl: add fence functions
:::::: TO: Junwei Zhang <Jerry.Zhang at amd.com>
:::::: CC: tianci yin <tianci.yin at amd.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 65756 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190919/e3e46689/attachment-0001.gz>
More information about the dri-devel
mailing list