[xilinx-xlnx:xlnx_rebase_v5.10 1908/1981] drivers/gpu/drm/xlnx/xlnx_pl_disp.c:115:15: error: implicit declaration of function 'xilinx_xdma_get_fid_err_flag'; did you mean 'xilinx_xdma_get_width_align'?

kernel test robot lkp at intel.com
Tue Dec 14 12:08:30 PST 2021


Hi Venkateshwar,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   87ec9a2d98a7a7dfc98b57348a0ec310fd170e4b
commit: 329361a85ed2eaeaacd649ee1826e98dc1336bf7 [1908/1981] drm: xlnx: pl_disp: Add plane properties for fid error detection
config: arc-randconfig-r005-20211214 (https://download.01.org/0day-ci/archive/20211215/202112150450.zZvzmMa7-lkp@intel.com/config)
compiler: arc-elf-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/Xilinx/linux-xlnx/commit/329361a85ed2eaeaacd649ee1826e98dc1336bf7
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout 329361a85ed2eaeaacd649ee1826e98dc1336bf7
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/xlnx/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/xlnx/xlnx_pl_disp.c: In function 'xlnx_pl_disp_complete':
>> drivers/gpu/drm/xlnx/xlnx_pl_disp.c:115:15: error: implicit declaration of function 'xilinx_xdma_get_fid_err_flag'; did you mean 'xilinx_xdma_get_width_align'? [-Werror=implicit-function-declaration]
     115 |         ret = xilinx_xdma_get_fid_err_flag(xlnx_dma_chan->dma_chan,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |               xilinx_xdma_get_width_align
>> drivers/gpu/drm/xlnx/xlnx_pl_disp.c:120:15: error: implicit declaration of function 'xilinx_xdma_get_fid_out'; did you mean 'xilinx_xdma_get_fid'? [-Werror=implicit-function-declaration]
     120 |         ret = xilinx_xdma_get_fid_out(xlnx_dma_chan->dma_chan,
         |               ^~~~~~~~~~~~~~~~~~~~~~~
         |               xilinx_xdma_get_fid
   cc1: some warnings being treated as errors


vim +115 drivers/gpu/drm/xlnx/xlnx_pl_disp.c

    99	
   100	/**
   101	 * xlnx_pl_disp_complete - vblank handler
   102	 * @param: parameter to vblank handler
   103	 *
   104	 * This function handles the vblank interrupt, and sends an event to
   105	 * CRTC object.
   106	 */
   107	static void xlnx_pl_disp_complete(void *param)
   108	{
   109		struct xlnx_pl_disp *xlnx_pl_disp = param;
   110		struct drm_device *drm = xlnx_pl_disp->drm;
   111		struct xlnx_dma_chan *xlnx_dma_chan = xlnx_pl_disp->chan;
   112		int ret;
   113	
   114		/* Get fid err flag and fid out val */
 > 115		ret = xilinx_xdma_get_fid_err_flag(xlnx_dma_chan->dma_chan,
   116						   &xlnx_pl_disp->fid_err_val);
   117		if (ret)
   118			dev_dbg(xlnx_pl_disp->dev, "failed to get fid_err info\n");
   119	
 > 120		ret = xilinx_xdma_get_fid_out(xlnx_dma_chan->dma_chan,
   121					      &xlnx_pl_disp->fid_out_val);
   122		if (ret)
   123			dev_dbg(xlnx_pl_disp->dev, "failed to get fid_out info\n");
   124	
   125		drm_handle_vblank(drm, 0);
   126	}
   127	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



More information about the linux-arm-kernel mailing list