[Intel-gfx] [drm-tip:drm-tip 2214/2285] drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:646:2: error: implicit declaration of function 'ttm_bo_man_fini'
kernel test robot
lkp at intel.com
Mon Aug 10 05:15:34 UTC 2020
tree: git://anongit.freedesktop.org/drm/drm-tip drm-tip
head: 147f0d3f7239756494adef31518f87e60a970878
commit: e0830704de7c06c72b1f83a3f67cb160b853812a [2214/2285] drm/vmwgfx: takedown vram manager
config: x86_64-randconfig-r004-20200810 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 3a34228bff6fdf45b50cb57cf5fb85d659eeb672)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout e0830704de7c06c72b1f83a3f67cb160b853812a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:646:2: error: implicit declaration of function 'ttm_bo_man_fini' [-Werror,-Wimplicit-function-declaration]
ttm_bo_man_fini(&dev_priv->bdev,
^
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:646:2: note: did you mean 'ttm_range_man_fini'?
include/drm/ttm/ttm_bo_driver.h:869:5: note: 'ttm_range_man_fini' declared here
int ttm_range_man_fini(struct ttm_bo_device *bdev,
^
1 error generated.
vim +/ttm_bo_man_fini +646 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
640
641 static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
642 {
643 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
644 vmw_thp_fini(dev_priv);
645 #else
> 646 ttm_bo_man_fini(&dev_priv->bdev,
647 &dev_priv->bdev.man[TTM_PL_VRAM]);
648 #endif
649 }
650
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37839 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200810/17fe28e2/attachment-0001.gz>
More information about the Intel-gfx
mailing list