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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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]

base: 0a50438c84363bd37fe18fe432888ae9a074dcab
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add linux-review
        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@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

Spice-devel mailing list

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]