All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Alex Deucher <alexander.deucher@amd.com>,
	Roman Li <Roman.Li@amd.com>, Ivan Lipski <ivan.lipski@amd.com>
Subject: [linux-next:master 11999/15183] drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:66:undefined reference to `__udivdi3'
Date: Sat, 15 Aug 2026 03:17:07 +0800	[thread overview]
Message-ID: <202608150342.p7BAOsOA-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2697ef8943c9985c14708a6429e21812693857b2
commit: 992694ad28584188725751f695a85661e8e3797a [11999/15183] drm/amd/display: Enable DCN6 sources compilation
config: i386-randconfig-054-20260814 (https://download.01.org/0day-ci/archive/20260815/202608150342.p7BAOsOA-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260815/202608150342.p7BAOsOA-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/202608150342.p7BAOsOA-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_utm_soc_bb/dml2_utm_soc_bb_dcn6.o: in function `dchub_v2_get_sop_total_available_bandwidth_KBps':
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:66:(.text+0x6e): undefined reference to `__udivdi3'
>> ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:71:(.text+0x97): undefined reference to `__udivdi3'
   ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:76:(.text+0xd0): undefined reference to `__udivdi3'
   ld: drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:79:(.text+0xf4): undefined reference to `__udivdi3'
   ld: drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_utm_soc_bb/dml2_utm_soc_bb_dcn6.o: in function `dchub_v2_is_qos_bandwidth_supported_by_sop':
   drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:115:(.text+0x18a): undefined reference to `__udivdi3'
   ld: drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_utm_soc_bb/dml2_utm_soc_bb_dcn6.o:drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h:117: more undefined references to `__udivdi3' follow


vim +66 drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/inc/bounding_boxes/utm_qos_model_dchub_v2.h

7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  53  
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  54  static inline void dchub_v2_get_sop_total_available_bandwidth_KBps(
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  55  		const struct utm_qos_model *model,
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  56  		struct utm_qos_model_dchub_memory_path_bandwidth_v2 *total_available_bandwidth,
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  57  		uint8_t sop_index)
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  58  {
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  59  	const struct utm_soc_operating_point *sop = &model->sops[sop_index];
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  60  	const struct utm_qos_model_socbb *socbb = &model->socbb;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  61  	uint64_t dram_available_bandwidth_KBps_nominal;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  62  	uint64_t fabric_available_bandwidth_KBps_nominal;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  63  	uint64_t dram_available_bandwidth_KBps_urgent;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  64  	uint64_t fabric_available_bandwidth_KBps_urgent;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  65  
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22 @66  	dram_available_bandwidth_KBps_nominal = (uint64_t) sop->uclk_khz
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  67  			* socbb->dram_channel_count
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  68  			* socbb->dram_channel_width_bytes
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  69  			* socbb->dram_transactions_per_clock
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  70  			* socbb->dram_derate_percent_nominal / 100;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22 @71  	dram_available_bandwidth_KBps_urgent = (uint64_t) sop->uclk_khz
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  72  			* socbb->dram_channel_count
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  73  			* socbb->dram_channel_width_bytes
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  74  			* socbb->dram_transactions_per_clock
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  75  			* socbb->dram_derate_percent_urgent / 100;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  76  	fabric_available_bandwidth_KBps_nominal = (uint64_t) sop->fclk_khz
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  77  			* socbb->fabric_datapath_to_dcn_data_return_bytes
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  78  			* socbb->fabric_derate_percent_nominal / 100;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  79  	fabric_available_bandwidth_KBps_urgent = (uint64_t) sop->fclk_khz
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  80  			* socbb->fabric_datapath_to_dcn_data_return_bytes
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  81  			* socbb->fabric_derate_percent_urgent / 100;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  82  
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  83  	total_available_bandwidth->nominal_bandwidth_KBps =
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  84  			dram_available_bandwidth_KBps_nominal < fabric_available_bandwidth_KBps_nominal ?
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  85  			(uint32_t) dram_available_bandwidth_KBps_nominal :
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  86  			(uint32_t) fabric_available_bandwidth_KBps_nominal;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  87  	total_available_bandwidth->urgent_bandwidth_KBps =
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  88  			dram_available_bandwidth_KBps_urgent < fabric_available_bandwidth_KBps_urgent ?
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  89  			(uint32_t) dram_available_bandwidth_KBps_urgent :
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  90  			(uint32_t) fabric_available_bandwidth_KBps_urgent;
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  91  }
7f7d7ea1fa5151 Aurabindo Pillai 2026-07-22  92  

:::::: The code at line 66 was first introduced by commit
:::::: 7f7d7ea1fa515157162d0d21245925551ed103a1 drm/amd/display: Add new sources for DCN6

:::::: TO: Aurabindo Pillai <aurabindo.pillai@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

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

                 reply	other threads:[~2026-08-14 19:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202608150342.p7BAOsOA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Roman.Li@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=aurabindo.pillai@amd.com \
    --cc=ivan.lipski@amd.com \
    --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.