✗ CI.KUnit: failure for drm/xe: Add configfs to load with fewer engines

Patchwork patchwork at emeril.freedesktop.org
Tue May 20 17:06:35 UTC 2025


== Series Details ==

Series: drm/xe: Add configfs to load with fewer engines
URL   : https://patchwork.freedesktop.org/series/149259/
State : failure

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
ERROR:root:In file included from ../drivers/gpu/drm/xe/xe_hw_engine.c:20:
../drivers/gpu/drm/xe/xe_configfs.h:23:5: warning: no previous prototype for ‘xe_configfs_get_engine_allowed’ [-Wmissing-prototypes]
   23 | u64 xe_configfs_get_engine_allowed(struct pci_dev *pdev) { return U64_MAX; }
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_module.c:14:
../drivers/gpu/drm/xe/xe_configfs.h:23:5: warning: no previous prototype for ‘xe_configfs_get_engine_allowed’ [-Wmissing-prototypes]
   23 | u64 xe_configfs_get_engine_allowed(struct pci_dev *pdev) { return U64_MAX; }
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/gpu/drm/xe/xe_survivability_mode.c:13:
../drivers/gpu/drm/xe/xe_configfs.h:23:5: warning: no previous prototype for ‘xe_configfs_get_engine_allowed’ [-Wmissing-prototypes]
   23 | u64 xe_configfs_get_engine_allowed(struct pci_dev *pdev) { return U64_MAX; }
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld: drivers/gpu/drm/xe/xe_module.o: in function `xe_configfs_get_engine_allowed':
xe_module.c:(.text+0x40): multiple definition of `xe_configfs_get_engine_allowed'; drivers/gpu/drm/xe/xe_hw_engine.o:xe_hw_engine.c:(.text+0x3f0): first defined here
ld: drivers/gpu/drm/xe/xe_survivability_mode.o: in function `xe_configfs_get_engine_allowed':
xe_survivability_mode.c:(.text+0x2b0): multiple definition of `xe_configfs_get_engine_allowed'; drivers/gpu/drm/xe/xe_hw_engine.o:xe_hw_engine.c:(.text+0x3f0): first defined here
make[3]: *** [../scripts/Makefile.vmlinux_o:72: vmlinux.o] Error 1
make[2]: *** [/kernel/Makefile:1217: vmlinux_o] Error 2
make[1]: *** [/kernel/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2

[17:06:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[17:06:05] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel




More information about the Intel-xe mailing list