[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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxx>
:::::: CC: tianci yin <tianci.yin@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux