[linux-next:master 9594/9692] drivers/gpu/drm/imx/ipuv3/parallel-display.c:208:undefined reference to `drm_bridge_connector_init'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ad40aff1edffeccc412cde93894196dca7bc739e
commit: 98b20ebb0ca8b62a9d0ee4bfe00a13887046b618 [9594/9692] Merge branch 'for-linux-next' of https://gitlab.freedesktop.org/drm/misc/kernel.git
config: s390-randconfig-r011-20220418 (https://download.01.org/0day-ci/archive/20240906/202409061140.O8nNP5tG-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240906/202409061140.O8nNP5tG-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409061140.O8nNP5tG-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   s390-linux-ld: drivers/gpu/drm/imx/ipuv3/parallel-display.o: in function `imx_pd_bind':
>> drivers/gpu/drm/imx/ipuv3/parallel-display.c:208:(.text+0x2c4): undefined reference to `drm_bridge_connector_init'
   s390-linux-ld: drivers/gpu/drm/imx/ipuv3/parallel-display.o: in function `imx_pd_probe':
   drivers/gpu/drm/imx/ipuv3/parallel-display.c:237:(.text+0x402): undefined reference to `devm_imx_drm_legacy_bridge'


vim +208 drivers/gpu/drm/imx/ipuv3/parallel-display.c

19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  181  
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  182  static int imx_pd_bind(struct device *dev, struct device *master, void *data)
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  183  {
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  184  	struct drm_device *drm = data;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  185  	struct imx_parallel_display *imxpd = dev_get_drvdata(dev);
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  186  	struct imx_parallel_display_encoder *imxpd_encoder;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  187  	struct drm_connector *connector;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  188  	struct drm_encoder *encoder;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  189  	struct drm_bridge *bridge;
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  190  	int ret;
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  191  
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  192  	imxpd_encoder = drmm_simple_encoder_alloc(drm, struct imx_parallel_display_encoder,
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  193  						  encoder, DRM_MODE_ENCODER_NONE);
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  194  	if (IS_ERR(imxpd_encoder))
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  195  		return PTR_ERR(imxpd_encoder);
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  196  
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  197  	imxpd_encoder->pd = imxpd;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  198  	encoder = &imxpd_encoder->encoder;
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  199  	bridge = &imxpd_encoder->bridge;
495590c65942d0 drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  200  
49f98bc4d44a4e drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2016-07-06  201  	ret = imx_drm_encoder_parse_of(drm, encoder, imxpd->dev->of_node);
1b3f7675663384 drivers/staging/imx-drm/parallel-display.c   Russell King     2013-11-03  202  	if (ret)
1b3f7675663384 drivers/staging/imx-drm/parallel-display.c   Russell King     2013-11-03  203  		return ret;
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  204  
5145fe5bed7cdd drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  205  	bridge->funcs = &imx_pd_bridge_funcs;
f94b9707a1c912 drivers/gpu/drm/imx/ipuv3/parallel-display.c Dmitry Baryshkov 2024-06-02  206  	drm_bridge_attach(encoder, bridge, NULL, DRM_BRIDGE_ATTACH_NO_CONNECTOR);
fe141cedc4333e drivers/gpu/drm/imx/parallel-display.c       Boris Brezillon  2020-01-28  207  
f94b9707a1c912 drivers/gpu/drm/imx/ipuv3/parallel-display.c Dmitry Baryshkov 2024-06-02 @208  	connector = drm_bridge_connector_init(drm, encoder);
f94b9707a1c912 drivers/gpu/drm/imx/ipuv3/parallel-display.c Dmitry Baryshkov 2024-06-02  209  	if (IS_ERR(connector))
f94b9707a1c912 drivers/gpu/drm/imx/ipuv3/parallel-display.c Dmitry Baryshkov 2024-06-02  210  		return PTR_ERR(connector);
c0ad88a9d8e53d drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  211  
5145fe5bed7cdd drivers/gpu/drm/imx/parallel-display.c       Philipp Zabel    2020-12-10  212  	drm_connector_attach_encoder(connector, encoder);
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  213  
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  214  	return 0;
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  215  }
19022aaae677df drivers/staging/imx-drm/parallel-display.c   Sascha Hauer     2012-09-21  216  

:::::: The code at line 208 was first introduced by commit
:::::: f94b9707a1c91292c32f82847aa00d66472c0c62 drm/imx: parallel-display: switch to imx_legacy_bridge / drm_bridge_connector

:::::: TO: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
:::::: CC: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux