Hi AngeloGioacchino,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20250113]
[cannot apply to robh/for-next pza/reset/next linus/master pza/imx-drm/next 
drm-misc/drm-misc-next v6.13-rc7 v6.13-rc6 v6.13-rc5 v6.13-rc7]
[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
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/AngeloGioacchino-Del-Regno/dt-bindings-display-mediatek-dpi-Add-MT8195-and-MT8188-compat/20250113-225554
base:   next-20250113
patch link:    
https://lore.kernel.org/r/20250113145232.227674-33-angelogioacchino.delregno%40collabora.com
patch subject: [PATCH v5 32/34] drm/mediatek: Introduce HDMI/DDC v2 for 
MT8195/MT8188
config: m68k-allmodconfig 
(https://download.01.org/0day-ci/archive/20250118/202501180052.usawtja8-...@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250118/202501180052.usawtja8-...@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202501180052.usawtja8-...@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/mediatek/mtk_hdmi_v2.c: In function 
'mtk_hdmi_v2_aud_output_channel_map':
>> drivers/gpu/drm/mediatek/mtk_hdmi_v2.c:345:15: error: implicit declaration 
>> of function 'FIELD_PREP' [-Wimplicit-function-declaration]
     345 |         val = FIELD_PREP(SD0_MAP, sd0) | FIELD_PREP(SD1_MAP, sd1);
         |               ^~~~~~~~~~
   drivers/gpu/drm/mediatek/mtk_hdmi_v2.c: In function 
'mtk_hdmi_v2_hpd_pord_status':
>> drivers/gpu/drm/mediatek/mtk_hdmi_v2.c:812:23: error: implicit declaration 
>> of function 'FIELD_GET' [-Wimplicit-function-declaration]
     812 |         hpd_pin_sta = FIELD_GET(HPD_PIN_STA, hpd_status);
         |                       ^~~~~~~~~
--
   drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c: In function 
'mtk_ddc_check_and_rise_low_bus':
>> drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c:59:36: error: implicit 
>> declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
      59 |                                    FIELD_PREP(DDC_CTRL_CMD, 
DDC_CMD_CLOCK_SCL));
         |                                    ^~~~~~~~~~
   drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c: In function 'mtk_ddcm_read_hdmi':
>> drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c:207:47: error: implicit 
>> declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
     207 |                         puc_value[read_idx] = 
FIELD_GET(DDC_DATA_OUT, val);
         |                                               ^~~~~~~~~


vim +/FIELD_PREP +345 drivers/gpu/drm/mediatek/mtk_hdmi_v2.c

   333  
   334  static u32 mtk_hdmi_v2_aud_output_channel_map(u8 sd0, u8 sd1, u8 sd2, 
u8 sd3,
   335                                                u8 sd4, u8 sd5, u8 sd6, 
u8 sd7)
   336  {
   337          u32 val;
   338  
   339          /*
   340           * Each of the Output Channels (0-7) can be mapped to get their 
input
   341           * from any of the available Input Channels (0-7): this function
   342           * takes input channel numbers and formats a value that must 
then
   343           * be written to the TOP_AUD_MAP hardware register by the 
caller.
   344           */
 > 345          val = FIELD_PREP(SD0_MAP, sd0) | FIELD_PREP(SD1_MAP, sd1);
   346          val |= FIELD_PREP(SD2_MAP, sd2) | FIELD_PREP(SD3_MAP, sd3);
   347          val |= FIELD_PREP(SD4_MAP, sd4) | FIELD_PREP(SD5_MAP, sd5);
   348          val |= FIELD_PREP(SD6_MAP, sd6) | FIELD_PREP(SD7_MAP, sd7);
   349  
   350          return val;
   351  }
   352  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to