Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kory Maincent <kory.maincent@bootlin.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC v3 1/8] drm: Move sink link rates reading helpers out of i915
Date: Fri, 16 Oct 2026 09:21:45 +0800	[thread overview]
Message-ID: <202610160925.QJrMX394-lkp@intel.com> (raw)
In-Reply-To: <20261012-feat_link_cap-v3-1-7517f4aba0f3@bootlin.com>

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

           reply	other threads:[~2026-10-16  1:22 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20261012-feat_link_cap-v3-1-7517f4aba0f3@bootlin.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610160925.QJrMX394-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kory.maincent@bootlin.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox