Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH RFC v3 1/8] drm: Move sink link rates reading helpers out of i915
       [not found] <20261012-feat_link_cap-v3-1-7517f4aba0f3@bootlin.com>
@ 2026-10-16  1:21 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-16  1:21 UTC (permalink / raw)
  To: Kory Maincent; +Cc: llvm, oe-kbuild-all

Hi Kory,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on 34e9ab0182494d7599dc9759bc216550d814b396]

url:    https://github.com/intel-lab-lkp/linux/commits/Kory-Maincent/drm-Move-sink-link-rates-reading-helpers-out-of-i915/20261012-171056
base:   34e9ab0182494d7599dc9759bc216550d814b396
patch link:    https://lore.kernel.org/r/20261012-feat_link_cap-v3-1-7517f4aba0f3%40bootlin.com
patch subject: [PATCH RFC v3 1/8] drm: Move sink link rates reading helpers out of i915
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20261016/202610160925.QJrMX394-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261016/202610160925.QJrMX394-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610160925.QJrMX394-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/display/drm_dp_helper.c:4947:7: error: call to undeclared function 'drm_dp_tunnel_bw_alloc_is_enabled'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4947 |         if (!drm_dp_tunnel_bw_alloc_is_enabled(tunnel))
         |              ^
>> drivers/gpu/drm/display/drm_dp_helper.c:4954:9: error: call to undeclared function 'drm_dp_tunnel_128b132b_dprx_rates'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4954 |         return drm_dp_tunnel_128b132b_dprx_rates(tunnel);
         |                ^
   drivers/gpu/drm/display/drm_dp_helper.c:4954:9: note: did you mean 'drm_dprx_128b132b_link_rates'?
   drivers/gpu/drm/display/drm_dp_helper.c:4944:11: note: 'drm_dprx_128b132b_link_rates' declared here
    4944 | static u8 drm_dprx_128b132b_link_rates(const struct drm_dp_tunnel *tunnel,
         |           ^
    4945 |                                        u8 uhbr_rates)
    4946 | {
    4947 |         if (!drm_dp_tunnel_bw_alloc_is_enabled(tunnel))
    4948 |                 return uhbr_rates;
    4949 | 
    4950 |         static_assert(DP_TUNNELING_10GBPS_PER_LANE_SUPPORT == DP_UHBR10 &&
    4951 |                       DP_TUNNELING_13_5GBPS_PER_LANE_SUPPORT == DP_UHBR13_5 &&
    4952 |                       DP_TUNNELING_20GBPS_PER_LANE_SUPPORT == DP_UHBR20);
    4953 | 
    4954 |         return drm_dp_tunnel_128b132b_dprx_rates(tunnel);
         |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                drm_dprx_128b132b_link_rates
   drivers/gpu/drm/display/drm_dp_helper.c:4960:16: error: call to undeclared function 'drm_dp_tunnel_bw_alloc_is_enabled'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4960 |         if (tunnel && drm_dp_tunnel_bw_alloc_is_enabled(tunnel))
         |                       ^
>> drivers/gpu/drm/display/drm_dp_helper.c:4961:10: error: call to undeclared function 'drm_dp_tunnel_128b132b_supported'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4961 |                 return drm_dp_tunnel_128b132b_supported(tunnel);
         |                        ^
   drivers/gpu/drm/display/drm_dp_helper.c:4961:10: note: did you mean 'drm_dp_128b132b_supported'?
   include/drm/display/drm_dp_helper.h:283:1: note: 'drm_dp_128b132b_supported' declared here
     283 | drm_dp_128b132b_supported(const u8 dpcd[DP_RECEIVER_CAP_SIZE])
         | ^
   4 errors generated.


vim +/drm_dp_tunnel_bw_alloc_is_enabled +4947 drivers/gpu/drm/display/drm_dp_helper.c

  4943	
  4944	static u8 drm_dprx_128b132b_link_rates(const struct drm_dp_tunnel *tunnel,
  4945					       u8 uhbr_rates)
  4946	{
> 4947		if (!drm_dp_tunnel_bw_alloc_is_enabled(tunnel))
  4948			return uhbr_rates;
  4949	
  4950		static_assert(DP_TUNNELING_10GBPS_PER_LANE_SUPPORT == DP_UHBR10 &&
  4951			      DP_TUNNELING_13_5GBPS_PER_LANE_SUPPORT == DP_UHBR13_5 &&
  4952			      DP_TUNNELING_20GBPS_PER_LANE_SUPPORT == DP_UHBR20);
  4953	
> 4954		return drm_dp_tunnel_128b132b_dprx_rates(tunnel);
  4955	}
  4956	
  4957	static bool drm_dprx_supports_128b132b(const struct drm_dp_tunnel *tunnel,
  4958					       const u8 dpcd[DP_RECEIVER_CAP_SIZE])
  4959	{
> 4960		if (tunnel && drm_dp_tunnel_bw_alloc_is_enabled(tunnel))
> 4961			return drm_dp_tunnel_128b132b_supported(tunnel);
  4962		else
  4963			return drm_dp_128b132b_supported(dpcd);
  4964	}
  4965	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-16  1:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261012-feat_link_cap-v3-1-7517f4aba0f3@bootlin.com>
2026-10-16  1:21 ` [PATCH RFC v3 1/8] drm: Move sink link rates reading helpers out of i915 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox