tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 15f3bff12cf6a888ec2ad39652828c60e6836b3d commit: ee47b8db538f7fc4cd550eec1220270df1897e69 [7713/8327] drm/amd/display: clean up some irq service code for dcn201 config: sparc-allyesconfig compiler: sparc64-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ee47b8db538f7fc4cd550eec1220270df1897e69 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout ee47b8db538f7fc4cd550eec1220270df1897e69 # 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=sparc SHELL=/bin/bash 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/amd/amdgpu/../display/dc/irq/dcn201/irq_service_dcn201.c:40:20: warning: no previous prototype for 'to_dal_irq_source_dcn201' [-Wmissing-prototypes] 40 | enum dc_irq_source to_dal_irq_source_dcn201( | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn201/irq_service_dcn201.c:139:43: warning: 'dmub_outbox_irq_info_funcs' defined but not used [-Wunused-const-variable=] 139 | static const struct irq_source_info_funcs dmub_outbox_irq_info_funcs = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/to_dal_irq_source_dcn201 +40 drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn201/irq_service_dcn201.c 39 > 40 enum dc_irq_source to_dal_irq_source_dcn201( 41 struct irq_service *irq_service, 42 uint32_t src_id, 43 uint32_t ext_id) 44 { 45 switch (src_id) { 46 case DCN_1_0__SRCID__DC_D1_OTG_VSTARTUP: 47 return DC_IRQ_SOURCE_VBLANK1; 48 case DCN_1_0__SRCID__DC_D2_OTG_VSTARTUP: 49 return DC_IRQ_SOURCE_VBLANK2; 50 case DCN_1_0__SRCID__OTG1_VERTICAL_INTERRUPT0_CONTROL: 51 return DC_IRQ_SOURCE_DC1_VLINE0; 52 case DCN_1_0__SRCID__OTG2_VERTICAL_INTERRUPT0_CONTROL: 53 return DC_IRQ_SOURCE_DC2_VLINE0; 54 case DCN_1_0__SRCID__HUBP0_FLIP_INTERRUPT: 55 return DC_IRQ_SOURCE_PFLIP1; 56 case DCN_1_0__SRCID__HUBP1_FLIP_INTERRUPT: 57 return DC_IRQ_SOURCE_PFLIP2; 58 case DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT: 59 return DC_IRQ_SOURCE_VUPDATE1; 60 case DCN_1_0__SRCID__OTG1_IHC_V_UPDATE_NO_LOCK_INTERRUPT: 61 return DC_IRQ_SOURCE_VUPDATE2; 62 case DCN_1_0__SRCID__DC_HPD1_INT: 63 /* generic src_id for all HPD and HPDRX interrupts */ 64 switch (ext_id) { 65 case DCN_1_0__CTXID__DC_HPD1_INT: 66 return DC_IRQ_SOURCE_HPD1; 67 case DCN_1_0__CTXID__DC_HPD2_INT: 68 return DC_IRQ_SOURCE_HPD2; 69 case DCN_1_0__CTXID__DC_HPD1_RX_INT: 70 return DC_IRQ_SOURCE_HPD1RX; 71 case DCN_1_0__CTXID__DC_HPD2_RX_INT: 72 return DC_IRQ_SOURCE_HPD2RX; 73 default: 74 return DC_IRQ_SOURCE_INVALID; 75 } 76 break; 77 78 default: 79 return DC_IRQ_SOURCE_INVALID; 80 } 81 } 82 -- 0-DAY CI Kernel Test Service https://01.org/lkp