[xilinx-xlnx:xlnx_rebase_v5.10 1908/1964] 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
Thu Sep 30 10:15:45 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   0a6e9d56f285540e5ca6c69c7fad2c3520b79c50
commit: 329361a85ed2eaeaacd649ee1826e98dc1336bf7 [1908/1964] drm: xlnx: pl_disp: Add plane properties for fid error detection
config: powerpc-randconfig-r001-20210930 (attached as .config)
compiler: powerpc-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/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 attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc 

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 30903 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211001/5e023a1a/attachment-0001.gz>


More information about the linux-arm-kernel mailing list