[Intel-gfx] [PATCH] drm/tests: Suballocator test

kernel test robot lkp at intel.com
Mon Feb 27 14:40:28 UTC 2023


Hi Thomas,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-tip/drm-tip]

url:    https://github.com/intel-lab-lkp/linux/commits/Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
patch link:    https://lore.kernel.org/r/20230227103853.12666-1-thomas.hellstrom%40linux.intel.com
patch subject: [Intel-gfx] [PATCH] drm/tests: Suballocator test
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230227/202302272233.3LnnRKDf-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/bf605f8a4492ba34499541f58ad29cf56bd9d852
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Thomas-Hellstr-m/drm-tests-Suballocator-test/20230227-184044
        git checkout bf605f8a4492ba34499541f58ad29cf56bd9d852
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp at intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302272233.3LnnRKDf-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tests/drm_suballoc_test.c:16:10: fatal error: drm/drm_suballoc.h: No such file or directory
      16 | #include <drm/drm_suballoc.h>
         |          ^~~~~~~~~~~~~~~~~~~~
   compilation terminated.


vim +16 drivers/gpu/drm/tests/drm_suballoc_test.c

     8	
     9	#include <linux/dma-fence.h>
    10	#include <linux/ktime.h>
    11	#include <linux/hrtimer.h>
    12	#include <linux/sizes.h>
    13	#include <linux/slab.h>
    14	#include <linux/spinlock.h>
    15	#include <linux/delay.h>
  > 16	#include <drm/drm_suballoc.h>
    17	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests


More information about the Intel-gfx mailing list