All of lore.kernel.org
 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

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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 15:10 [PATCH RFC v3 0/8] Add support for DisplayPort link training information report Kory Maincent
2026-10-12 15:10 ` [PATCH RFC v3 1/8] drm: Move sink link rates reading helpers out of i915 Kory Maincent
2026-10-12 15:26   ` sashiko-bot
2026-10-16  1:21   ` kernel test robot [this message]
2026-10-12 15:10 ` [PATCH RFC v3 2/8] drm: Move DSC capability reading helper " Kory Maincent
2026-10-12 15:10 ` [PATCH RFC v3 3/8] drm: Introduce DisplayPort link training capabilities and state helpers Kory Maincent
2026-10-12 15:23   ` sashiko-bot
2026-10-12 15:10 ` [PATCH RFC v3 4/8] drm/i915/display/dp: Read DPCD DSC capabilities in any case Kory Maincent
2026-10-12 15:11 ` [PATCH RFC v3 5/8] drm/i915/display/dp: Use dp_connector helpers to expose link training state Kory Maincent
2026-10-12 15:24   ` sashiko-bot
2026-10-12 15:11 ` [PATCH RFC v3 6/8] drm/bridge: Expose link training state via new DRM_BRIDGE_OP_DP flag Kory Maincent
2026-10-12 15:20   ` sashiko-bot
2026-10-12 15:11 ` [PATCH RFC v3 7/8] drm/analogix/anx7625: Use dp_connector helpers to expose link training state Kory Maincent
2026-10-12 15:26   ` sashiko-bot
2026-10-12 15:11 ` [PATCH RFC v3 8/8] drm/mediatek: " Kory Maincent
2026-10-12 15:26   ` sashiko-bot
2026-10-13 18:12 ` ✗ Fi.CI.BUILD: failure for Add support for DisplayPort link training information report Patchwork

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.