Hi Yongqiang, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.13-rc7 next-20210624] [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] url: https://github.com/0day-ci/linux/commits/Yongqiang-Niu/drm-mediatek-add-support-for-mediatek-SOC-MT8192/20210624-213601 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 7426cedc7dad67bf3c71ea6cc29ab7822e1a453f config: x86_64-randconfig-b001-20210622 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 7c8a507272587f181ec29401453949ebcd8fec65) 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 # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/0day-ci/linux/commit/f247d197505ad0651084f185bb024521c0c225e8 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Yongqiang-Niu/drm-mediatek-add-support-for-mediatek-SOC-MT8192/20210624-213601 git checkout f247d197505ad0651084f185bb024521c0c225e8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/soc/mediatek/mtk-mutex.c:235:3: error: use of undeclared identifier 'DDP_COMPONENT_POSTMASK0' [DDP_COMPONENT_POSTMASK0] = MT8192_MUTEX_MOD_DISP_POSTMASK0, ^ >> drivers/soc/mediatek/mtk-mutex.c:238:3: error: use of undeclared identifier 'DDP_COMPONENT_OVL_2L2' [DDP_COMPONENT_OVL_2L2] = MT8192_MUTEX_MOD_DISP_OVL2_2L, ^ >> drivers/soc/mediatek/mtk-mutex.c:240:3: error: use of undeclared identifier 'DDP_COMPONENT_RDMA4' [DDP_COMPONENT_RDMA4] = MT8192_MUTEX_MOD_DISP_RDMA4, ^ 3 errors generated. vim +/DDP_COMPONENT_POSTMASK0 +235 drivers/soc/mediatek/mtk-mutex.c 228 229 static const unsigned int mt8192_mutex_mod[DDP_COMPONENT_ID_MAX] = { 230 [DDP_COMPONENT_AAL0] = MT8192_MUTEX_MOD_DISP_AAL0, 231 [DDP_COMPONENT_CCORR] = MT8192_MUTEX_MOD_DISP_CCORR0, 232 [DDP_COMPONENT_COLOR0] = MT8192_MUTEX_MOD_DISP_COLOR0, 233 [DDP_COMPONENT_DITHER] = MT8192_MUTEX_MOD_DISP_DITHER0, 234 [DDP_COMPONENT_GAMMA] = MT8192_MUTEX_MOD_DISP_GAMMA0, > 235 [DDP_COMPONENT_POSTMASK0] = MT8192_MUTEX_MOD_DISP_POSTMASK0, 236 [DDP_COMPONENT_OVL0] = MT8192_MUTEX_MOD_DISP_OVL0, 237 [DDP_COMPONENT_OVL_2L0] = MT8192_MUTEX_MOD_DISP_OVL0_2L, > 238 [DDP_COMPONENT_OVL_2L2] = MT8192_MUTEX_MOD_DISP_OVL2_2L, 239 [DDP_COMPONENT_RDMA0] = MT8192_MUTEX_MOD_DISP_RDMA0, > 240 [DDP_COMPONENT_RDMA4] = MT8192_MUTEX_MOD_DISP_RDMA4, 241 }; 242 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org