[xilinx-xlnx:master 117/218] 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 Nov 18 13:11:34 PST 2021


tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a88ef03d3015782318b4bc94ceb20dca375a01b
commit: c977ad8fb7ec282f8a309e6eb1c12cd271ea2b68 [117/218] drm: xlnx: pl_disp: Add plane properties for fid error detection
config: nios2-randconfig-r004-20211117 (attached as .config)
compiler: nios2-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/c977ad8fb7ec282f8a309e6eb1c12cd271ea2b68
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx master
        git checkout c977ad8fb7ec282f8a309e6eb1c12cd271ea2b68
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2 

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: 29675 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211119/e5b94b08/attachment-0001.gz>


More information about the linux-arm-kernel mailing list