[xilinx-xlnx:xlnx_rebase_v5.15 639/923] drivers/gpu/drm/xlnx/xlnx_pl_disp.c:116: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 Feb 10 06:07:19 PST 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   966124532656bc95d781abf57531e4cd4f962237
commit: 53714559153b6752c75bfc61ddf6680dfd2ae401 [639/923] drm: xlnx: DRM KMS driver for xilinx display pipeline
config: alpha-randconfig-c024-20220208 (https://download.01.org/0day-ci/archive/20220210/202202102255.bMCsK8et-lkp@intel.com/config)
compiler: alpha-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/53714559153b6752c75bfc61ddf6680dfd2ae401
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15
        git checkout 53714559153b6752c75bfc61ddf6680dfd2ae401
        # 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=alpha 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>

Note: the xilinx-xlnx/xlnx_rebase_v5.15 HEAD 966124532656bc95d781abf57531e4cd4f962237 builds fine.
      It only hurts bisectability.

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:116:15: error: implicit declaration of function 'xilinx_xdma_get_fid_err_flag'; did you mean 'xilinx_xdma_get_width_align'? [-Werror=implicit-function-declaration]
     116 |         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:121:15: error: implicit declaration of function 'xilinx_xdma_get_fid_out'; did you mean 'xilinx_xdma_get_fid'? [-Werror=implicit-function-declaration]
     121 |         ret = xilinx_xdma_get_fid_out(xlnx_dma_chan->dma_chan,
         |               ^~~~~~~~~~~~~~~~~~~~~~~
         |               xilinx_xdma_get_fid
   cc1: some warnings being treated as errors

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for DRM_PANEL_SIMPLE
   Depends on HAS_IOMEM && DRM && DRM_PANEL && OF && BACKLIGHT_CLASS_DEVICE && PM
   Selected by
   - DRM_XLNX_DSI && HAS_IOMEM && DRM_XLNX


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

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

---
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