m68k-linux-ld: undefined reference to `drm_gem_fb_begin_cpu_access'

From: kernel test robot
Date: Wed Nov 17 2021 - 20:15:31 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ee1703cda8dc777e937dec172da55beaf1a74919
commit: 08971eea06db3377ea1f9ff4f95a5df5f6c9aeb7 drm/mipi-dbi: Use framebuffer dma-buf helpers
date: 4 months ago
config: m68k-randconfig-r026-20211018 (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=08971eea06db3377ea1f9ff4f95a5df5f6c9aeb7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 08971eea06db3377ea1f9ff4f95a5df5f6c9aeb7
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

m68k-linux-ld: section .rodata VMA [0000000000002000,00000000000f513f] overlaps section .text VMA [0000000000000400,0000000000576bbf]
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o: in function `mipi_dbi_buf_copy':
(.text+0x106): undefined reference to `drm_gem_fb_get_obj'
>> m68k-linux-ld: (.text+0x118): undefined reference to `drm_gem_fb_begin_cpu_access'
m68k-linux-ld: (.text+0x15c): undefined reference to `drm_fb_swab'
m68k-linux-ld: (.text+0x174): undefined reference to `drm_fb_memcpy'
m68k-linux-ld: (.text+0x194): undefined reference to `drm_fb_xrgb8888_to_rgb565'
>> m68k-linux-ld: (.text+0x1a4): undefined reference to `drm_gem_fb_end_cpu_access'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o: in function `mipi_dbi_dev_init_with_formats':
(.text+0x2de): undefined reference to `drm_simple_display_pipe_init'
m68k-linux-ld: (.text+0x2f6): undefined reference to `drm_plane_enable_fb_damage_clips'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o: in function `mipi_dbi_fb_dirty':
drm_mipi_dbi.c:(.text+0x14f8): undefined reference to `drm_gem_fb_get_obj'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o: in function `mipi_dbi_pipe_update':
(.text+0x1652): undefined reference to `drm_atomic_helper_damage_merged'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0xdc): undefined reference to `drm_gem_fb_create_with_dirty'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0xec): undefined reference to `drm_atomic_helper_check'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0xf0): undefined reference to `drm_atomic_helper_commit'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0x104): undefined reference to `drm_atomic_helper_connector_reset'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0x110): undefined reference to `drm_helper_probe_single_connector_modes'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0x124): undefined reference to `drm_atomic_helper_connector_duplicate_state'
m68k-linux-ld: drivers/gpu/drm/drm_mipi_dbi.o:(.rodata+0x128): undefined reference to `drm_atomic_helper_connector_destroy_state'

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

Attachment: .config.gz
Description: application/gzip