Hi Rob,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-tip/drm-tip linus/master next-20261030]
[cannot apply to drm-misc/drm-misc-next daeinki-drm-exynos/exynos-drm-next 
drm-i915/for-linux-next drm-i915/for-linux-next-fixes v7.3]
[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/Rob-Clark/drm-msm-Import-adreno_snapshot-h/20261102-140245
base:   https://gitlab.freedesktop.org/drm/kernel.git drm-next
patch link:    
https://lore.kernel.org/r/20261102220405.30730-12-robin.clark%40oss.qualcomm.com
patch subject: [PATCH v5 11/15] drm/msm/a8xx: devcoredump state capture support
config: mips-allyesconfig 
(https://download.01.org/0day-ci/archive/20261104/[email protected]/config)
compiler: mips-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20261104/[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/msm/adreno/a8xx_gpu_state.c:9:
   drivers/gpu/drm/msm/adreno/adreno_snapshot.h: In function 'CD_WRITE':
>> drivers/gpu/drm/msm/adreno/adreno_snapshot.h:506:22: error: implicit 
>> declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
     506 |         *(p->in++) = FIELD_PREP(GENMASK_U64(63, 44), reg) | BIT(21) 
| BIT(0);
         |                      ^~~~~~~~~~
   drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c: In function 
'gen8_dbgc_side_debug_bus_read':
>> drivers/gpu/drm/msm/adreno/a8xx_gpu_state.c:920:21: error: implicit 
>> declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
     920 |         side_data = FIELD_GET(GENMASK(27, 24), reg);
         |                     ^~~~~~~~~


vim +/FIELD_PREP +506 drivers/gpu/drm/msm/adreno/adreno_snapshot.h

   502  
   503  static inline void CD_WRITE(struct cd_script *p, u32 reg, u32 val)
   504  {
   505          *(p->in++) = val;
 > 506          *(p->in++) = FIELD_PREP(GENMASK_U64(63, 44), reg) | BIT(21) | 
 > BIT(0);
   507          __cd_check_overflow(p);
   508  }
   509  

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

Reply via email to