Hi Marek,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next 
drm-tip/drm-tip next-20250924]
[cannot apply to linus/master v6.17-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/Marek-Vasut/drm-rcar-du-dsi-Fix-missing-parameter-in-RXSETR_-EN-macros/20250924-083415
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    
https://lore.kernel.org/r/20250924003003.91039-5-marek.vasut%2Brenesas%40mailbox.org
patch subject: [PATCH v2 04/10] drm/rcar-du: dsi: Clean up VCLKSET register 
macros
config: arc-randconfig-002-20250924 
(https://download.01.org/0day-ci/archive/20250925/[email protected]/config)
compiler: arc-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250925/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c:29:
   drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c: In function 
'rcar_mipi_dsi_startup':
>> drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi_regs.h:256:41: error: implicit 
>> declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
     256 | #define VCLKSET_BPP_24                  FIELD_PREP(VCLKSET_BPP_MASK, 
3)
         |                                         ^~~~~~~~~~
   drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c:629:28: note: in expansion 
of macro 'VCLKSET_BPP_24'
     629 |                 vclkset |= VCLKSET_BPP_24;
         |                            ^~~~~~~~~~~~~~


vim +/FIELD_PREP +256 drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi_regs.h

   246  
   247  #define VCLKSET                         0x100c
   248  #define VCLKSET_CKEN                    (1 << 16)
   249  #define VCLKSET_COLOR_YCC               (1 << 8) /* 0:RGB 1:YCbCr */
   250  #define VCLKSET_DIV_V3U(x)              (((x) & 0x3) << 4)
   251  #define VCLKSET_DIV_V4H(x)              (((x) & 0x7) << 4)
   252  #define VCLKSET_BPP_MASK                (3 << 2)
   253  #define VCLKSET_BPP_16                  FIELD_PREP(VCLKSET_BPP_MASK, 0)
   254  #define VCLKSET_BPP_18                  FIELD_PREP(VCLKSET_BPP_MASK, 1)
   255  #define VCLKSET_BPP_18L                 FIELD_PREP(VCLKSET_BPP_MASK, 2)
 > 256  #define VCLKSET_BPP_24                  FIELD_PREP(VCLKSET_BPP_MASK, 3)
   257  #define VCLKSET_LANE(x)                 (((x) & 0x3) << 0)
   258  

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

Reply via email to