Hi Moudy, Thank you for the patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [also build test ERROR on robh/for-next linus/master mediatek/for-next v5.14-rc6 next-20210819] [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/Moudy-Ho/media-mediatek-support-mdp3-on-mt8183-platform/20210819-151256 base: git://linuxtv.org/media_tree.git master config: riscv-randconfig-r033-20210818 (attached as .config) compiler: riscv64-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/ffae2ca50c715cb1ded96d9374a82883190f548d git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Moudy-Ho/media-mediatek-support-mdp3-on-mt8183-platform/20210819-151256 git checkout ffae2ca50c715cb1ded96d9374a82883190f548d # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `.L27': >> mtk-mmsys.c:(.text+0x420): undefined reference to `cmdq_pkt_write_mask' riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `.L34': mtk-mmsys.c:(.text+0x5a0): undefined reference to `cmdq_pkt_write_mask' riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `.L45': mtk-mmsys.c:(.text+0x7a0): undefined reference to `cmdq_pkt_write_mask' riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `.L66': mtk-mmsys.c:(.text+0x7d8): undefined reference to `cmdq_pkt_write_mask' riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `.L42': mtk-mmsys.c:(.text+0x7f4): undefined reference to `cmdq_pkt_write_mask' riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o:mtk-mmsys.c:(.text+0x84c): more undefined references to `cmdq_pkt_write_mask' follow riscv64-linux-ld: drivers/soc/mediatek/mtk-mmsys.o: in function `platform_device_register_resndata.constprop.0': mtk-mmsys.c:(.text+0xce8): undefined reference to `cmdq_dev_get_client_reg' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org