* [drm-drm-misc:drm-misc-next 2/10] drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function 'ttm_range_man_init'
@ 2021-06-04 20:31 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-04 20:31 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3870 bytes --]
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: cb1c81467af355829a4a9d8fa3f92ffab355d93c
commit: 3eb7d96e94150304011d214750b45766cf62d9c9 [2/10] drm/ttm: flip over the range manager to self allocated nodes
config: x86_64-randconfig-r013-20210604 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5c0d1b2f902aa6a9cf47cc7e42c5b83bb2217cf9)
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 remote add drm-drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-drm-misc drm-misc-next
git checkout 3eb7d96e94150304011d214750b45766cf62d9c9
# 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@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function 'ttm_range_man_init' [-Werror,-Wimplicit-function-declaration]
ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
^
>> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:690:2: error: implicit declaration of function 'ttm_range_man_fini' [-Werror,-Wimplicit-function-declaration]
ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
^
2 errors generated.
vim +/ttm_range_man_init +678 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
0d00c488f3de59d Thomas Hellstrom 2014-01-15 671
252f8d7b917464f Dave Airlie 2020-08-04 672 static int vmw_vram_manager_init(struct vmw_private *dev_priv)
252f8d7b917464f Dave Airlie 2020-08-04 673 {
252f8d7b917464f Dave Airlie 2020-08-04 674 int ret;
252f8d7b917464f Dave Airlie 2020-08-04 675 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
252f8d7b917464f Dave Airlie 2020-08-04 676 ret = vmw_thp_init(dev_priv);
252f8d7b917464f Dave Airlie 2020-08-04 677 #else
9c3006a4cc1b165 Christian König 2020-09-11 @678 ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
0fe438cec9e1d26 Christian König 2020-09-11 679 dev_priv->vram_size >> PAGE_SHIFT);
252f8d7b917464f Dave Airlie 2020-08-04 680 #endif
9de59bc201496f2 Dave Airlie 2020-08-04 681 ttm_resource_manager_set_used(ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM), false);
252f8d7b917464f Dave Airlie 2020-08-04 682 return ret;
252f8d7b917464f Dave Airlie 2020-08-04 683 }
e0830704de7c06c Dave Airlie 2020-08-04 684
e0830704de7c06c Dave Airlie 2020-08-04 685 static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
e0830704de7c06c Dave Airlie 2020-08-04 686 {
e0830704de7c06c Dave Airlie 2020-08-04 687 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
e0830704de7c06c Dave Airlie 2020-08-04 688 vmw_thp_fini(dev_priv);
e0830704de7c06c Dave Airlie 2020-08-04 689 #else
a343160235f59b5 Dave Airlie 2020-08-10 @690 ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
e0830704de7c06c Dave Airlie 2020-08-04 691 #endif
e0830704de7c06c Dave Airlie 2020-08-04 692 }
e0830704de7c06c Dave Airlie 2020-08-04 693
:::::: The code at line 678 was first introduced by commit
:::::: 9c3006a4cc1b165652a07727caf7926054f9aa9f drm/ttm: remove available_caching
:::::: TO: Christian König <christian.koenig@amd.com>
:::::: CC: Christian König <christian.koenig@amd.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37122 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [drm-drm-misc:drm-misc-next 2/10] drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function 'ttm_range_man_init'
@ 2021-06-04 17:19 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-04 17:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3677 bytes --]
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: cb1c81467af355829a4a9d8fa3f92ffab355d93c
commit: 3eb7d96e94150304011d214750b45766cf62d9c9 [2/10] drm/ttm: flip over the range manager to self allocated nodes
config: i386-randconfig-a002-20210604 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add drm-drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-drm-misc drm-misc-next
git checkout 3eb7d96e94150304011d214750b45766cf62d9c9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function 'vmw_vram_manager_init':
>> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function 'ttm_range_man_init' [-Werror=implicit-function-declaration]
678 | ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c: In function 'vmw_vram_manager_fini':
>> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:690:2: error: implicit declaration of function 'ttm_range_man_fini' [-Werror=implicit-function-declaration]
690 | ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/ttm_range_man_init +678 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
0d00c488f3de59 Thomas Hellstrom 2014-01-15 671
252f8d7b917464 Dave Airlie 2020-08-04 672 static int vmw_vram_manager_init(struct vmw_private *dev_priv)
252f8d7b917464 Dave Airlie 2020-08-04 673 {
252f8d7b917464 Dave Airlie 2020-08-04 674 int ret;
252f8d7b917464 Dave Airlie 2020-08-04 675 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
252f8d7b917464 Dave Airlie 2020-08-04 676 ret = vmw_thp_init(dev_priv);
252f8d7b917464 Dave Airlie 2020-08-04 677 #else
9c3006a4cc1b16 Christian König 2020-09-11 @678 ret = ttm_range_man_init(&dev_priv->bdev, TTM_PL_VRAM, false,
0fe438cec9e1d2 Christian König 2020-09-11 679 dev_priv->vram_size >> PAGE_SHIFT);
252f8d7b917464 Dave Airlie 2020-08-04 680 #endif
9de59bc201496f Dave Airlie 2020-08-04 681 ttm_resource_manager_set_used(ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM), false);
252f8d7b917464 Dave Airlie 2020-08-04 682 return ret;
252f8d7b917464 Dave Airlie 2020-08-04 683 }
e0830704de7c06 Dave Airlie 2020-08-04 684
e0830704de7c06 Dave Airlie 2020-08-04 685 static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
e0830704de7c06 Dave Airlie 2020-08-04 686 {
e0830704de7c06 Dave Airlie 2020-08-04 687 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
e0830704de7c06 Dave Airlie 2020-08-04 688 vmw_thp_fini(dev_priv);
e0830704de7c06 Dave Airlie 2020-08-04 689 #else
a343160235f59b Dave Airlie 2020-08-10 @690 ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
e0830704de7c06 Dave Airlie 2020-08-04 691 #endif
e0830704de7c06 Dave Airlie 2020-08-04 692 }
e0830704de7c06 Dave Airlie 2020-08-04 693
:::::: The code at line 678 was first introduced by commit
:::::: 9c3006a4cc1b165652a07727caf7926054f9aa9f drm/ttm: remove available_caching
:::::: TO: Christian König <christian.koenig@amd.com>
:::::: CC: Christian König <christian.koenig@amd.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37515 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-04 20:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 20:31 [drm-drm-misc:drm-misc-next 2/10] drivers/gpu/drm/vmwgfx/vmwgfx_drv.c:678:8: error: implicit declaration of function 'ttm_range_man_init' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-06-04 17:19 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.