mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/gpu/drm/xe/xe_hw_engine.c:812:undefined reference to `xe_configfs_get_engines_allowed'
@ 2026-04-03  8:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-03  8:43 UTC (permalink / raw)
  To: Harry Austen; +Cc: oe-kbuild-all, linux-kernel

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

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

only message in thread, other threads:[~2026-04-03  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-03  8:43 drivers/gpu/drm/xe/xe_hw_engine.c:812:undefined reference to `xe_configfs_get_engines_allowed' 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

Powered by JetHome