[Spice-devel] [PATCH 2/4] drm/vram-helper: Use drm_gem_ttm_dumb_map_offset()

kernel test robot lkp at intel.com
Tue Apr 6 15:29:36 UTC 2021


Hi Thomas,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc6 next-20210406]
[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/Thomas-Zimmermann/drm-Generic-dumb_map_offset-for-TTM-based-drivers/20210406-163159
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0a50438c84363bd37fe18fe432888ae9a074dcab
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/80a1349080db0bb20f1e9a9909470c09d125daab
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Thomas-Zimmermann/drm-Generic-dumb_map_offset-for-TTM-based-drivers/20210406-163159
        git checkout 80a1349080db0bb20f1e9a9909470c09d125daab
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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/hisilicon/hibmc/hibmc_drm_drv.c:63:28: error: 'drm_gem_vram_driver_dumb_mmap_offset' undeclared here (not in a function); did you mean 'drm_gem_vram_driver_dumb_create'?
      63 |  .dumb_map_offset        = drm_gem_vram_driver_dumb_mmap_offset,
         |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                            drm_gem_vram_driver_dumb_create


vim +63 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

552a77bab3ff86 Tian Tao          2020-12-04  52  
70a59dd82959f8 Daniel Vetter     2020-11-04  53  static const struct drm_driver hibmc_driver = {
5b38e7475e3dc5 Daniel Vetter     2019-01-29  54  	.driver_features	= DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC,
5e0df3a08f3d17 Rongrong Zou      2016-11-16  55  	.fops			= &hibmc_fops,
5e0df3a08f3d17 Rongrong Zou      2016-11-16  56  	.name			= "hibmc",
5e0df3a08f3d17 Rongrong Zou      2016-11-16  57  	.date			= "20160828",
5e0df3a08f3d17 Rongrong Zou      2016-11-16  58  	.desc			= "hibmc drm driver",
5e0df3a08f3d17 Rongrong Zou      2016-11-16  59  	.major			= 1,
5e0df3a08f3d17 Rongrong Zou      2016-11-16  60  	.minor			= 0,
de2318f69366cd Thomas Zimmermann 2019-12-03  61  	.debugfs_init		= drm_vram_mm_debugfs_init,
e4daebc77e7b34 Rongrong Zou      2016-11-16  62  	.dumb_create            = hibmc_dumb_create,
e2f572aa9cbb30 Thomas Zimmermann 2019-05-08 @63  	.dumb_map_offset        = drm_gem_vram_driver_dumb_mmap_offset,
80be7eed1d32fb Thomas Zimmermann 2019-07-02  64  	.gem_prime_mmap		= drm_gem_prime_mmap,
1d98b91611725e Rongrong Zou      2016-11-16  65  	.irq_handler		= hibmc_drm_interrupt,
5e0df3a08f3d17 Rongrong Zou      2016-11-16  66  };
5e0df3a08f3d17 Rongrong Zou      2016-11-16  67  

---
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: 76885 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20210406/f5ecab29/attachment-0001.gz>


More information about the Spice-devel mailing list