drivers/gpu/drm/virtio/virtgpu_drv.c:138: undefined reference to `drm_dev_unregister'

From: kbuild test robot
Date: Fri Mar 20 2020 - 23:38:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5ad0ec0b86525d0c5d3d250d3cfad7f183b00cfa
commit: 759bdc168181abeff61399d0f7ecec2852cc3e61 RISC-V: Add kconfig option for QEMU virt machine
date: 2 weeks ago
config: riscv-randconfig-a001-20200321 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 759bdc168181abeff61399d0f7ecec2852cc3e61
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=riscv

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_remove':
>> drivers/gpu/drm/virtio/virtgpu_drv.c:138: undefined reference to `drm_dev_unregister'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.c:140: undefined reference to `drm_dev_put'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_probe':
drivers/gpu/drm/virtio/virtgpu_drv.c:107: undefined reference to `drm_dev_alloc'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_pci_quirk':
drivers/gpu/drm/virtio/virtgpu_drv.c:92: undefined reference to `drm_dev_set_unique'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_probe':
drivers/gpu/drm/virtio/virtgpu_drv.c:115: undefined reference to `drm_dev_put'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.c:122: undefined reference to `drm_dev_register'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.LANCHOR1':
virtgpu_drv.c:(.data+0xdc): undefined reference to `drm_gem_prime_handle_to_fd'
riscv32-linux-ld: virtgpu_drv.c:(.data+0xe0): undefined reference to `drm_gem_prime_fd_to_handle'
riscv32-linux-ld: virtgpu_drv.c:(.data+0x104): undefined reference to `drm_gem_prime_mmap'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x8): undefined reference to `drm_read'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x24): undefined reference to `drm_poll'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x28): undefined reference to `drm_ioctl'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x30): undefined reference to `drm_gem_mmap'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x38): undefined reference to `drm_open'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x40): undefined reference to `drm_release'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_cancel_event_work':
drivers/scsi/virtio_scsi.c:273: undefined reference to `scsi_remove_host'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_remove':
drivers/scsi/virtio_scsi.c:925: undefined reference to `scsi_host_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_change_queue_depth':
drivers/scsi/virtio_scsi.c:675: undefined reference to `scsi_change_queue_depth'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_abort':
drivers/scsi/virtio_scsi.c:685: undefined reference to `scmd_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_device_reset':
drivers/scsi/virtio_scsi.c:623: undefined reference to `sdev_prefix_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:368: undefined reference to `__scsi_iterate_devices'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_rescan_hotunplug':
drivers/scsi/virtio_scsi.c:356: undefined reference to `scsi_scan_host'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:340: undefined reference to `__scsi_execute'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `scsi_execute_req':
include/scsi/scsi_device.h:455: undefined reference to `scsi_remove_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_rescan_hotunplug':
drivers/scsi/virtio_scsi.c:350: undefined reference to `__scsi_iterate_devices'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_transport_reset':
drivers/scsi/virtio_scsi.c:300: undefined reference to `scsi_add_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:288: undefined reference to `scsi_device_lookup'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:379: undefined reference to `scsi_remove_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_transport_reset':
drivers/scsi/virtio_scsi.c:290: undefined reference to `scsi_device_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_param_change':
drivers/scsi/virtio_scsi.c:312: undefined reference to `scsi_device_lookup'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_handle_event':
drivers/scsi/virtio_scsi.c:382: undefined reference to `scsi_rescan_device'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:382: undefined reference to `scsi_device_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `set_host_byte':
include/scsi/scsi_cmnd.h:318: undefined reference to `scmd_printk'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtio_cread16':
include/linux/virtio_config.h:405: undefined reference to `scsi_host_alloc'
riscv32-linux-ld: drivers/scsi/virtio_scsi.o: in function `virtscsi_probe':
drivers/scsi/virtio_scsi.c:857: undefined reference to `scsi_host_put'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:877: undefined reference to `scsi_add_host_with_dma'
riscv32-linux-ld: drivers/scsi/virtio_scsi.c:902: undefined reference to `scsi_scan_host'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_clear_crypto_engines':
drivers/crypto/virtio/virtio_crypto_core.c:273: undefined reference to `crypto_engine_exit'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_find_vqs':
drivers/crypto/virtio/virtio_crypto_core.c:95: undefined reference to `crypto_engine_alloc_init'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_set_affinity':
drivers/crypto/virtio/virtio_crypto_core.c:165: undefined reference to `crypto_engine_start'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_core.o: in function `virtcrypto_probe':
drivers/crypto/virtio/virtio_crypto_core.c:410: undefined reference to `crypto_engine_exit'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_config_changed_work_func':
drivers/gpu/drm/virtio/virtgpu_kms.c:46: undefined reference to `drm_helper_hpd_irq_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_find_vqs':
include/linux/virtio_config.h:197: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_init':
drivers/gpu/drm/virtio/virtgpu_kms.c:174: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.c:181: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `kcalloc':
include/linux/slab.h:608: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `virtio_gpu_get_capsets':
drivers/gpu/drm/virtio/virtgpu_kms.c:95: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_gem_create':
drivers/gpu/drm/virtio/virtgpu_gem.c:46: undefined reference to `drm_gem_handle_create'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.c:47: undefined reference to `drm_gem_object_release'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.c:52: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_mode_dumb_mmap':
drivers/gpu/drm/virtio/virtgpu_gem.c:100: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `drm_vma_node_offset_addr':
include/drm/drm_vma_manager.h:204: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_lock_resv':
drivers/gpu/drm/virtio/virtgpu_gem.c:211: undefined reference to `drm_gem_lock_reservations'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_unlock_resv':
drivers/gpu/drm/virtio/virtgpu_gem.c:221: undefined reference to `drm_gem_unlock_reservations'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_put_free':
drivers/gpu/drm/virtio/virtgpu_gem.c:239: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_array_from_handles':
drivers/gpu/drm/virtio/virtgpu_gem.c:187: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `vgdev_atomic_commit_tail':
drivers/gpu/drm/virtio/virtgpu_display.c:331: undefined reference to `drm_atomic_helper_commit_modeset_disables'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:332: undefined reference to `drm_atomic_helper_commit_modeset_enables'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:333: undefined reference to `drm_atomic_helper_commit_planes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:335: undefined reference to `drm_atomic_helper_commit_hw_done'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:337: undefined reference to `drm_atomic_helper_wait_for_vblanks'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:338: undefined reference to `drm_atomic_helper_cleanup_planes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_mode_valid':
drivers/gpu/drm/virtio/virtgpu_display.c:206: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_get_modes':
drivers/gpu/drm/virtio/virtgpu_display.c:170: undefined reference to `drm_add_modes_noedid'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:175: undefined reference to `drm_set_preferred_mode'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:163: undefined reference to `drm_add_edid_modes'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:177: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:178: undefined reference to `drm_cvt_mode'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:181: undefined reference to `drm_mode_probed_add'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_destroy':
drivers/gpu/drm/virtio/virtgpu_display.c:236: undefined reference to `drm_connector_unregister'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:237: undefined reference to `drm_connector_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_crtc_atomic_flush':
>> drivers/gpu/drm/virtio/virtgpu_display.c:128: undefined reference to `drm_crtc_send_vblank_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_user_framebuffer_create':
drivers/gpu/drm/virtio/virtgpu_display.c:304: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_framebuffer_init':
drivers/gpu/drm/virtio/virtgpu_display.c:75: undefined reference to `drm_helper_mode_fill_fb_struct'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:77: undefined reference to `drm_framebuffer_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_user_framebuffer_create':
drivers/gpu/drm/virtio/virtgpu_display.c:320: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_modeset_init':
drivers/gpu/drm/virtio/virtgpu_display.c:355: undefined reference to `drm_mode_config_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:369: undefined reference to `drm_mode_config_reset'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `vgdev_output_init':
drivers/gpu/drm/virtio/virtgpu_display.c:275: undefined reference to `drm_crtc_init_with_planes'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:279: undefined reference to `drm_connector_init'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:283: undefined reference to `drm_connector_attach_edid_property'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:285: undefined reference to `drm_encoder_init'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:288: undefined reference to `drm_connector_attach_encoder'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:291: undefined reference to `drm_connector_register'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_modeset_fini':
>> drivers/gpu/drm/virtio/virtgpu_display.c:378: undefined reference to `drm_atomic_helper_shutdown'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.c:379: undefined reference to `drm_mode_config_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
drivers/gpu/drm/virtio/virtgpu_display.c:59: undefined reference to `drm_gem_fb_destroy'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
virtgpu_display.c:(.rodata+0x4): undefined reference to `drm_gem_fb_create_handle'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x8): undefined reference to `drm_atomic_helper_dirtyfb'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x1c): undefined reference to `drm_atomic_helper_check'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x20): undefined reference to `drm_atomic_helper_commit'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
drivers/gpu/drm/virtio/virtgpu_display.c:49: undefined reference to `drm_atomic_helper_crtc_reset'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR1':
virtgpu_display.c:(.rodata+0x44): undefined reference to `drm_crtc_cleanup'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x48): undefined reference to `drm_atomic_helper_set_config'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x4c): undefined reference to `drm_atomic_helper_page_flip'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x58): undefined reference to `drm_atomic_helper_crtc_duplicate_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x5c): undefined reference to `drm_atomic_helper_crtc_destroy_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xcc): undefined reference to `drm_atomic_helper_connector_reset'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xd8): undefined reference to `drm_helper_probe_single_connector_modes'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xec): undefined reference to `drm_atomic_helper_connector_duplicate_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0xf0): undefined reference to `drm_atomic_helper_connector_destroy_state'
riscv32-linux-ld: virtgpu_display.c:(.rodata+0x128): undefined reference to `drm_encoder_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `reclaim_vbufs':
drivers/gpu/drm/virtio/virtgpu_vq.c:184: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_cmd_get_display_info_cb':
drivers/gpu/drm/virtio/virtgpu_vq.c:660: undefined reference to `drm_helper_hpd_irq_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:661: undefined reference to `drm_kms_helper_hotplug_event'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:646: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:652: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_cmd_get_edid_cb':
drivers/gpu/drm/virtio/virtgpu_vq.c:731: undefined reference to `drm_do_get_edid'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:734: undefined reference to `drm_connector_update_edid_property'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_dequeue_ctrl_func':
drivers/gpu/drm/virtio/virtgpu_vq.c:221: undefined reference to `__drm_err'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:231: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:215: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_attach':
>> drivers/gpu/drm/virtio/virtgpu_vq.c:1079: undefined reference to `drm_gem_shmem_get_sg_table'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.c:1079: undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `dma_map_sg_attrs':
include/linux/dma-mapping.h:317: undefined reference to `__drm_err'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_attach':
>> drivers/gpu/drm/virtio/virtgpu_vq.c:1117: undefined reference to `drm_gem_shmem_pin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `virtio_gpu_object_detach':
>> drivers/gpu/drm/virtio/virtgpu_vq.c:1143: undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `virtio_gpu_free_object':
drivers/gpu/drm/virtio/virtgpu_object.c:75: undefined reference to `drm_gem_shmem_free_object'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `virtio_gpu_object_create':
drivers/gpu/drm/virtio/virtgpu_object.c:109: undefined reference to `drm_gem_shmem_create'
>> riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.c:125: undefined reference to `drm_gem_shmem_free_object'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `.LANCHOR1':
virtgpu_object.c:(.rodata+0xc): undefined reference to `drm_gem_shmem_print_info'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x14): undefined reference to `drm_gem_shmem_pin'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x18): undefined reference to `drm_gem_shmem_unpin'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x1c): undefined reference to `drm_gem_shmem_get_sg_table'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x20): undefined reference to `drm_gem_shmem_vmap'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x24): undefined reference to `drm_gem_shmem_vunmap'
riscv32-linux-ld: virtgpu_object.c:(.rodata+0x28): undefined reference to `drm_gem_shmem_mmap'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_debugfs.o: in function `virtio_gpu_debugfs_init':
drivers/gpu/drm/virtio/virtgpu_debugfs.c:77: undefined reference to `drm_debugfs_create_files'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `virtio_gpu_plane_destroy':
drivers/gpu/drm/virtio/virtgpu_plane.c:72: undefined reference to `drm_plane_cleanup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `virtio_gpu_plane_atomic_check':
drivers/gpu/drm/virtio/virtgpu_plane.c:99: undefined reference to `drm_atomic_helper_check_plane_state'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.c:95: undefined reference to `drm_atomic_get_crtc_state'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `virtio_gpu_primary_plane_update':
drivers/gpu/drm/virtio/virtgpu_plane.c:154: undefined reference to `drm_atomic_helper_damage_merged'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.c:168: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.c:145: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `virtio_gpu_cursor_plane_update':
drivers/gpu/drm/virtio/virtgpu_plane.c:290: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.c:275: undefined reference to `__drm_dbg'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `virtio_gpu_plane_init':
drivers/gpu/drm/virtio/virtgpu_plane.c:330: undefined reference to `drm_universal_plane_init'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `.LANCHOR1':
drivers/gpu/drm/virtio/virtgpu_plane.c:76: undefined reference to `drm_atomic_helper_update_plane'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_plane.o: in function `.LANCHOR1':
virtgpu_plane.c:(.rodata+0x3c): undefined reference to `drm_atomic_helper_disable_plane'
riscv32-linux-ld: virtgpu_plane.c:(.rodata+0x44): undefined reference to `drm_atomic_helper_plane_reset'
riscv32-linux-ld: virtgpu_plane.c:(.rodata+0x4c): undefined reference to `drm_atomic_helper_plane_duplicate_state'
riscv32-linux-ld: virtgpu_plane.c:(.rodata+0x50): undefined reference to `drm_atomic_helper_plane_destroy_state'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.o: in function `virtio_gpu_wait_ioctl':
drivers/gpu/drm/virtio/virtgpu_ioctl.c:379: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.c:391: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.o: in function `virtio_gpu_resource_info_ioctl':
drivers/gpu/drm/virtio/virtgpu_ioctl.c:273: undefined reference to `drm_gem_object_lookup'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.c:279: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.o: in function `virtio_gpu_resource_create_ioctl':
drivers/gpu/drm/virtio/virtgpu_ioctl.c:249: undefined reference to `drm_gem_handle_create'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.c:250: undefined reference to `drm_gem_object_release'
riscv32-linux-ld: drivers/gpu/drm/virtio/virtgpu_ioctl.c:256: undefined reference to `drm_gem_object_put_unlocked'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_algs.o: in function `virtio_crypto_skcipher_decrypt':
drivers/crypto/virtio/virtio_crypto_algs.c:520: undefined reference to `crypto_transfer_skcipher_request_to_engine'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_algs.o: in function `virtio_crypto_skcipher_encrypt':
drivers/crypto/virtio/virtio_crypto_algs.c:496: undefined reference to `crypto_transfer_skcipher_request_to_engine'
riscv32-linux-ld: drivers/crypto/virtio/virtio_crypto_algs.o: in function `virtio_crypto_skcipher_finalize_req':
drivers/crypto/virtio/virtio_crypto_algs.c:580: undefined reference to `crypto_finalize_skcipher_request'

vim +138 drivers/gpu/drm/virtio/virtgpu_drv.c

dc5698e80cf724 Dave Airlie 2013-09-09 133
dc5698e80cf724 Dave Airlie 2013-09-09 134 static void virtio_gpu_remove(struct virtio_device *vdev)
dc5698e80cf724 Dave Airlie 2013-09-09 135 {
dc5698e80cf724 Dave Airlie 2013-09-09 136 struct drm_device *dev = vdev->priv;
9d492b6bece4ec Rodrigo Siqueira 2018-02-22 137
d516e75c71c985 Ezequiel Garcia 2019-01-08 @138 drm_dev_unregister(dev);
d516e75c71c985 Ezequiel Garcia 2019-01-08 139 virtio_gpu_deinit(dev);
c8f95a56b6763c Chuhong Yuan 2019-11-09 140 drm_dev_put(dev);
dc5698e80cf724 Dave Airlie 2013-09-09 141 }
dc5698e80cf724 Dave Airlie 2013-09-09 142

:::::: The code at line 138 was first introduced by commit
:::::: d516e75c71c9853ef70a9c476d11a97b69380147 drm/virtio: Drop deprecated load/unload initialization

:::::: TO: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxx>
:::::: CC: Gerd Hoffmann <kraxel@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip