mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Harry Austen <hpausten@protonmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: drivers/gpu/drm/xe/xe_hw_engine.c:812:undefined reference to `xe_configfs_get_engines_allowed'
Date: Fri, 03 Apr 2026 16:43:12 +0800	[thread overview]
Message-ID: <202604030453.L1SnHcsh-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5619b098e2fbf3a23bf13d91897056a1fe238c6d
commit: a559434880b320b83733d739733250815aecf1b0 drm/xe: Allow dropping kunit dependency as built-in
date:   9 months ago
config: arc-randconfig-002-20260401 (https://download.01.org/0day-ci/archive/20260403/202604030453.L1SnHcsh-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260403/202604030453.L1SnHcsh-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
| Fixes: a559434880b3 ("drm/xe: Allow dropping kunit dependency as built-in")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604030453.L1SnHcsh-lkp@intel.com/

All errors (new ones prefixed by >>):

   arc-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0x8): undefined reference to `xe_configfs_init'
   arc-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0x8): undefined reference to `xe_configfs_init'
   arc-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0xc): undefined reference to `xe_configfs_exit'
   arc-linux-ld: drivers/gpu/drm/xe/xe_module.o:(.rodata+0xc): undefined reference to `xe_configfs_exit'
   arc-linux-ld: drivers/gpu/drm/xe/xe_hw_engine.o: in function `xe_hw_engines_init_early':
>> drivers/gpu/drm/xe/xe_hw_engine.c:812:(.text+0x9e2): undefined reference to `xe_configfs_get_engines_allowed'
>> arc-linux-ld: drivers/gpu/drm/xe/xe_hw_engine.c:812:(.text+0x9e2): undefined reference to `xe_configfs_get_engines_allowed'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_fini':
   drivers/gpu/drm/xe/xe_survivability_mode.c:149:(.text+0x14e): undefined reference to `xe_configfs_clear_survivability_mode'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:149:(.text+0x14e): undefined reference to `xe_configfs_clear_survivability_mode'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_survivability_mode_is_requested':
   drivers/gpu/drm/xe/xe_survivability_mode.c:224:(.text+0x1b0): undefined reference to `xe_configfs_get_survivability_mode'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:224:(.text+0x1b0): undefined reference to `xe_configfs_get_survivability_mode'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:229:(.text+0x1ca): undefined reference to `xe_configfs_clear_survivability_mode'
   arc-linux-ld: drivers/gpu/drm/xe/xe_survivability_mode.c:229:(.text+0x1ca): undefined reference to `xe_configfs_clear_survivability_mode'


vim +812 drivers/gpu/drm/xe/xe_hw_engine.c

9897eb855544f0 Daniele Ceraolo Spurio 2023-11-17  808  
58b51df807d739 Lucas De Marchi        2025-05-28  809  static void check_sw_disable(struct xe_gt *gt)
58b51df807d739 Lucas De Marchi        2025-05-28  810  {
58b51df807d739 Lucas De Marchi        2025-05-28  811  	struct xe_device *xe = gt_to_xe(gt);
58b51df807d739 Lucas De Marchi        2025-05-28 @812  	u64 sw_allowed = xe_configfs_get_engines_allowed(to_pci_dev(xe->drm.dev));
58b51df807d739 Lucas De Marchi        2025-05-28  813  	enum xe_hw_engine_id id;
58b51df807d739 Lucas De Marchi        2025-05-28  814  
58b51df807d739 Lucas De Marchi        2025-05-28  815  	for (id = 0; id < XE_NUM_HW_ENGINES; ++id) {
58b51df807d739 Lucas De Marchi        2025-05-28  816  		if (!(gt->info.engine_mask & BIT(id)))
58b51df807d739 Lucas De Marchi        2025-05-28  817  			continue;
58b51df807d739 Lucas De Marchi        2025-05-28  818  
58b51df807d739 Lucas De Marchi        2025-05-28  819  		if (!(sw_allowed & BIT(id))) {
58b51df807d739 Lucas De Marchi        2025-05-28  820  			gt->info.engine_mask &= ~BIT(id);
58b51df807d739 Lucas De Marchi        2025-05-28  821  			xe_gt_info(gt, "%s disabled via configfs\n",
58b51df807d739 Lucas De Marchi        2025-05-28  822  				   engine_infos[id].name);
58b51df807d739 Lucas De Marchi        2025-05-28  823  		}
58b51df807d739 Lucas De Marchi        2025-05-28  824  	}
58b51df807d739 Lucas De Marchi        2025-05-28  825  }
58b51df807d739 Lucas De Marchi        2025-05-28  826  

:::::: The code at line 812 was first introduced by commit
:::::: 58b51df807d7394a09ddb95b47099d59465e3777 drm/xe: Allow to disable engines

:::::: TO: Lucas De Marchi <lucas.demarchi@intel.com>
:::::: CC: Lucas De Marchi <lucas.demarchi@intel.com>

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

                 reply	other threads:[~2026-04-03  8:44 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=202604030453.L1SnHcsh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hpausten@protonmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

Powered by JetHome