Hi Sui, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip v5.17-rc2 next-20220202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Sui-Jingfeng/drm-lsdc-add-drm-driver-for-loongson-display-controller/20220202-151906 base: git://anongit.freedesktop.org/drm/drm drm-next config: arm-randconfig-c002-20220130 (https://download.01.org/0day-ci/archive/20220202/202202021922.RM944IfI-lkp(a)intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/b08e9bcd367a7b52a60ad2cb2487963b0bf4947d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Sui-Jingfeng/drm-lsdc-add-drm-driver-for-loongson-display-controller/20220202-151906 git checkout b08e9bcd367a7b52a60ad2cb2487963b0bf4947d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arm-linux-gnueabi-ld: arch/arm/mach-dove/pcie.o: in function `dove_pcie_setup': pcie.c:(.init.text+0x144): undefined reference to `pci_remap_iospace' arm-linux-gnueabi-ld: drivers/pci/pci.o: in function `devm_pci_remap_iospace': pci.c:(.text+0x50f0): undefined reference to `pci_remap_iospace' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_pin_locked': >> drm_gem_vram_helper.c:(.text+0x1a4): undefined reference to `ttm_bo_validate' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_vram_mm_debugfs': >> drm_gem_vram_helper.c:(.text+0x2dc): undefined reference to `ttm_resource_manager_debug' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_vram_mm_release': >> drm_gem_vram_helper.c:(.text+0x30c): undefined reference to `ttm_range_man_fini_nocheck' >> arm-linux-gnueabi-ld: drm_gem_vram_helper.c:(.text+0x314): undefined reference to `ttm_device_fini' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_bo_driver_move_notify': >> drm_gem_vram_helper.c:(.text+0x3b4): undefined reference to `ttm_bo_vunmap' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `bo_driver_move': >> drm_gem_vram_helper.c:(.text+0x3f8): undefined reference to `ttm_bo_move_memcpy' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `bo_driver_ttm_tt_destroy': >> drm_gem_vram_helper.c:(.text+0x420): undefined reference to `ttm_tt_fini' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_object_free': >> drm_gem_vram_helper.c:(.text+0x430): undefined reference to `ttm_bo_put' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `bo_driver_ttm_tt_create': >> drm_gem_vram_helper.c:(.text+0x46c): undefined reference to `ttm_tt_init' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_create': >> drm_gem_vram_helper.c:(.text+0x5b0): undefined reference to `ttm_bo_init' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_put': drm_gem_vram_helper.c:(.text+0x5f4): undefined reference to `ttm_bo_put' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_pin': >> drm_gem_vram_helper.c:(.text+0x720): undefined reference to `ttm_bo_move_to_lru_tail' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_unpin': drm_gem_vram_helper.c:(.text+0x868): undefined reference to `ttm_bo_move_to_lru_tail' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_vmap': >> drm_gem_vram_helper.c:(.text+0x910): undefined reference to `ttm_bo_vmap' >> arm-linux-gnueabi-ld: drm_gem_vram_helper.c:(.text+0xa28): undefined reference to `ttm_bo_move_to_lru_tail' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drm_gem_vram_vunmap': drm_gem_vram_helper.c:(.text+0xc94): undefined reference to `ttm_bo_move_to_lru_tail' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `drmm_vram_helper_init': >> drm_gem_vram_helper.c:(.text+0x1104): undefined reference to `ttm_device_init' >> arm-linux-gnueabi-ld: drm_gem_vram_helper.c:(.text+0x1120): undefined reference to `ttm_range_man_init_nocheck' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `.LANCHOR2': >> drm_gem_vram_helper.c:(.data+0x20): undefined reference to `ttm_bo_eviction_valuable' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_gem_vram_helper.o: in function `.LANCHOR1': >> drm_gem_vram_helper.c:(.rodata+0xc): undefined reference to `drm_gem_ttm_print_info' >> arm-linux-gnueabi-ld: drm_gem_vram_helper.c:(.rodata+0x28): undefined reference to `drm_gem_ttm_mmap' arm-linux-gnueabi-ld: drivers/gpu/drm/lsdc/lsdc_drv.o: in function `.LANCHOR2': >> lsdc_drv.c:(.rodata+0xd4): undefined reference to `drm_gem_ttm_dumb_map_offset' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org