tree: https://github.com/AsahiLinux/linux gpu/rust-wip head: bf21e26f1f1b49243f55eb850c5fd6b915f47d23 commit: da74ef0cfa2364bd6f816d0fec94f469ab250d64 [1712/2025] HACK: drm/apple: avoid DCP swaps without attached surfaces config: arm64-allyesconfig compiler: aarch64-linux-gcc (GCC) 12.1.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/AsahiLinux/linux/commit/da74ef0cfa2364bd6f816d0fec94f469ab250d64 git remote add asahilinux https://github.com/AsahiLinux/linux git fetch --no-tags asahilinux gpu/rust-wip git checkout da74ef0cfa2364bd6f816d0fec94f469ab250d64 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/apple/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/apple/dcp.c:159:24: warning: no previous prototype for 'dcp_get_cb_channel' [-Wmissing-prototypes] 159 | struct dcp_cb_channel *dcp_get_cb_channel(struct apple_dcp *dcp, | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/apple/dcp.c:219:6: warning: no previous prototype for 'dcp_push' [-Wmissing-prototypes] 219 | void dcp_push(struct apple_dcp *dcp, bool oob, enum dcpep_method method, | ^~~~~~~~ drivers/gpu/drm/apple/dcp.c:341:6: warning: no previous prototype for 'dcp_ack' [-Wmissing-prototypes] 341 | void dcp_ack(struct apple_dcp *dcp, enum dcp_context_id context) | ^~~~~~~ >> drivers/gpu/drm/apple/dcp.c:744:6: warning: no previous prototype for 'dcp_delayed_vblank' [-Wmissing-prototypes] 744 | void dcp_delayed_vblank(struct work_struct *work) | ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/apple/dcp.c:984:17: warning: no previous prototype for 'drm_to_dcp_rect' [-Wmissing-prototypes] 984 | struct dcp_rect drm_to_dcp_rect(struct drm_rect *rect) | ^~~~~~~~~~~~~~~ drivers/gpu/drm/apple/dcp.c: In function 'dcp_flush': drivers/gpu/drm/apple/dcp.c:1116:37: error: implicit declaration of function 'drm_fb_cma_get_gem_addr'; did you mean 'drm_fb_dma_get_gem_addr'? [-Werror=implicit-function-declaration] 1116 | req->surf_iova[l] = drm_fb_cma_get_gem_addr(fb, new_state, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ | drm_fb_dma_get_gem_addr In file included from drivers/gpu/drm/apple/dcp.c:20: drivers/gpu/drm/apple/dcp.h: At top level: drivers/gpu/drm/apple/dcp.h:46:18: warning: 'dcp_formats' defined but not used [-Wunused-const-variable=] 46 | static const u32 dcp_formats[] = { | ^~~~~~~~~~~ cc1: some warnings being treated as errors vim +/dcp_delayed_vblank +744 drivers/gpu/drm/apple/dcp.c 738 739 /* 740 * Helper to send a DRM vblank event. We do not know how call swap_submit_dcp 741 * without surfaces. To avoid timeouts in drm_atomic_helper_wait_for_vblanks 742 * send a vblank event via a workqueue. 743 */ > 744 void dcp_delayed_vblank(struct work_struct *work) 745 { 746 struct apple_dcp *dcp; 747 748 dcp = container_of(work, struct apple_dcp, vblank_wq); 749 mdelay(5); 750 apple_crtc_vblank(dcp->crtc); 751 } 752 -- 0-DAY CI Kernel Test Service https://01.org/lkp