✗ CI.KUnit: failure for Implement clear VRAM on free (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Jun 23 15:24:31 UTC 2025
== Series Details ==
Series: Implement clear VRAM on free (rev2)
URL : https://patchwork.freedesktop.org/series/150635/
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_bo.c:3204:
../drivers/gpu/drm/xe/tests/xe_bo.c: In function ‘ccs_test_migrate’:
../drivers/gpu/drm/xe/tests/xe_bo.c:46:57: error: passing argument 2 of ‘xe_migrate_clear’ from incompatible pointer type [-Werror=incompatible-pointer-types]
46 | fence = xe_migrate_clear(tile->migrate, bo, bo->ttm.resource,
| ^~
| |
| struct xe_bo *
In file included from ../drivers/gpu/drm/xe/xe_bo.c:28:
../drivers/gpu/drm/xe/xe_migrate.h:127:57: note: expected ‘struct ttm_resource *’ but argument is of type ‘struct xe_bo *’
127 | struct ttm_resource *dst,
| ~~~~~~~~~~~~~~~~~~~~~^~~
../drivers/gpu/drm/xe/tests/xe_bo.c:46:68: error: passing argument 3 of ‘xe_migrate_clear’ from incompatible pointer type [-Werror=incompatible-pointer-types]
46 | fence = xe_migrate_clear(tile->migrate, bo, bo->ttm.resource,
| ~~~~~~~^~~~~~~~~
| |
| struct ttm_resource *
../drivers/gpu/drm/xe/xe_migrate.h:128:53: note: expected ‘struct dma_resv *’ but argument is of type ‘struct ttm_resource *’
128 | struct dma_resv *resv,
| ~~~~~~~~~~~~~~~~~^~~~
../drivers/gpu/drm/xe/xe_migrate.h:124:41: warning: passing argument 4 of ‘xe_migrate_clear’ makes pointer from integer without a cast [-Wint-conversion]
124 | #define XE_MIGRATE_CLEAR_FLAG_FULL (XE_MIGRATE_CLEAR_FLAG_BO_DATA | \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
125 | XE_MIGRATE_CLEAR_FLAG_CCS_DATA)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/tests/xe_bo.c:47:42: note: in expansion of macro ‘XE_MIGRATE_CLEAR_FLAG_FULL’
47 | XE_MIGRATE_CLEAR_FLAG_FULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_migrate.h:129:53: note: expected ‘struct sg_table *’ but argument is of type ‘long unsigned int’
129 | struct sg_table *sgt,
| ~~~~~~~~~~~~~~~~~^~~
../drivers/gpu/drm/xe/tests/xe_bo.c:46:25: error: too few arguments to function ‘xe_migrate_clear’
46 | fence = xe_migrate_clear(tile->migrate, bo, bo->ttm.resource,
| ^~~~~~~~~~~~~~~~
../drivers/gpu/drm/xe/xe_migrate.h:126:19: note: declared here
126 | struct dma_fence *xe_migrate_clear(struct xe_migrate *m,
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[7]: *** [../scripts/Makefile.build:287: drivers/gpu/drm/xe/xe_bo.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [../scripts/Makefile.build:554: drivers/gpu/drm/xe] Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [../scripts/Makefile.build:554: drivers/gpu/drm] Error 2
make[4]: *** [../scripts/Makefile.build:554: drivers/gpu] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/kernel/Makefile:2003: .] Error 2
make[1]: *** [/kernel/Makefile:248: __sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2
[15:24:03] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[15:24:07] 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