Hi Damon,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm/drm-next next-20261019]
[cannot apply to daeinki-drm-exynos/exynos-drm-next linus/master v7.3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Damon-Ding/drm-bridge-analogix_dp-Return-bitmask-from-analogix_dp_get_irq_type/20261019-165823
base:   https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link:    
https://lore.kernel.org/r/20261019085836.3065008-12-damon.ding%40rock-chips.com
patch subject: [PATCH v4 11/14] drm/bridge: analogix_dp: Use 
bridge->next_bridge instead of plat_data field
config: nios2-randconfig-1000-20261020 
(https://download.01.org/0day-ci/archive/20261020/[email protected]/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20261020/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   nios2-linux-ld: drivers/gpu/drm/bridge/analogix/analogix_dp_core.o: in 
function `analogix_dp_aux_done_probing':
>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1669:(.text+0xb80): 
>> undefined reference to `devm_drm_of_display_mode_bridge'
>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1669:(.text+0xb80): 
>> relocation truncated to fit: R_NIOS2_CALL26 against 
>> `devm_drm_of_display_mode_bridge'


vim +1669 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

  1660  
  1661  static int analogix_dp_aux_done_probing(struct drm_dp_aux *aux)
  1662  {
  1663          struct analogix_dp_device *dp = to_dp(aux);
  1664          struct analogix_dp_plat_data *plat_data = dp->plat_data;
  1665          struct drm_bridge *bridge = &dp->bridge, *next_bridge;
  1666          int port = plat_data->dev_type == EXYNOS_DP ? 0 : 1;
  1667  
  1668          if (plat_data->dev_type == EXYNOS_DP && 
of_get_display_timings(dp->dev->of_node)) {
> 1669                  next_bridge = devm_drm_of_display_mode_bridge(dp->dev, 
> dp->dev->of_node,
  1670                                                                
DRM_MODE_CONNECTOR_eDP);
  1671                  if (IS_ERR(next_bridge))
  1672                          return PTR_ERR(next_bridge);
  1673                  bridge->next_bridge = drm_bridge_get(next_bridge);
  1674  
  1675                  return component_add(dp->dev, plat_data->ops);
  1676          }
  1677  
  1678          /*
  1679           * If of_drm_get_bridge_by_endpoint() returns -ENODEV, there 
may be no
  1680           * valid panel or bridge nodes. The driver should go on for the
  1681           * driver-free bridge or the DP mode applications.
  1682           */
  1683          bridge->next_bridge = 
of_drm_get_bridge_by_endpoint(dp->dev->of_node, port, 0);
  1684          if (IS_ERR(bridge->next_bridge)) {
  1685                  if (PTR_ERR(bridge->next_bridge) == -ENODEV)
  1686                          bridge->next_bridge = NULL;
  1687                  else
  1688                          return PTR_ERR(bridge->next_bridge);
  1689          }
  1690  
  1691          return component_add(dp->dev, plat_data->ops);
  1692  }
  1693  

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

Reply via email to