[igt-dev] ✗ Fi.CI.BUILD: failure for tests/xe/xe_store: Add xe_store test to check store dword functionality
Patchwork
patchwork at emeril.freedesktop.org
Mon Jun 26 11:16:50 UTC 2023
== Series Details ==
Series: tests/xe/xe_store: Add xe_store test to check store dword functionality
URL : https://patchwork.freedesktop.org/series/119857/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
feb4fdbcce1e53cb1d483aad3d5ec4ff41092359 lib/intel_blt: Prepare blt library to support xe
[343/662] Linking target tests/xe_live_ktest.
[344/662] Linking target tests/xe_mmap.
[345/662] Linking target tests/xe_mmio.
[346/662] Linking target tests/xe_module_load.
[347/662] Compiling C object 'tests/59830eb@@xe_store at exe/xe_xe_store.c.o'.
FAILED: tests/59830eb@@xe_store at exe/xe_xe_store.c.o
cc -Itests/59830eb@@xe_store at exe -Itests -I../../../usr/src/igt-gpu-tools/tests -I../../../usr/src/igt-gpu-tools/include -I../../../usr/src/igt-gpu-tools/include/drm-uapi -I../../../usr/src/igt-gpu-tools/include/linux-uapi -Ilib -I../../../usr/src/igt-gpu-tools/lib -I../../../usr/src/igt-gpu-tools/lib/stubs/syscalls -I. -I../../../usr/src/igt-gpu-tools/ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/59830eb@@xe_store at exe/xe_xe_store.c.o' -MF 'tests/59830eb@@xe_store at exe/xe_xe_store.c.o.d' -o 'tests/59830eb@@xe_store at exe/xe_xe_store.c.o' -c ../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c: In function ‘store’:
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:47:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
47 | uint64_t batch_offset = (char *)&(data->batch) - (char *)data;
| ^~~~~~~~
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c: In function ‘store_all’:
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:105:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
105 | uint64_t batch_offset = (char *)&(data->batch) - (char *)data;
| ^~~~~~~~
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:137:20: error: ‘engine’ undeclared (first use in this function); did you mean ‘engines’?
137 | xe_exec_wait(fd, engine[i], batch_addr);
| ^~~~~~
| engines
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:137:20: note: each undeclared identifier is reported only once for each function it appears in
In file included from ../../../usr/src/igt-gpu-tools/lib/drmtest.h:39,
from ../../../usr/src/igt-gpu-tools/lib/igt.h:27,
from ../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:1:
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:138:24: error: invalid type argument of ‘->’ (have ‘struct <anonymous>’)
138 | igt_assert_eq(data[i]->data, 0xc0ffee);
| ^~
../../../usr/src/igt-gpu-tools/lib/igt_core.h:737:15: note: in definition of macro ‘igt_assert_cmpint’
737 | int __n1 = (n1), __n2 = (n2); \
| ^~
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:138:3: note: in expansion of macro ‘igt_assert_eq’
138 | igt_assert_eq(data[i]->data, 0xc0ffee);
| ^~~~~~~~~~~~~
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:86:11: warning: variable ‘engines’ set but not used [-Wunused-but-set-variable]
86 | uint32_t engines[MAX_INSTANCE];
| ^~~~~~~
In file included from ../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:4:
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c: In function ‘__igt_unique____real_main151’:
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:166:22: error: ‘gt’ undeclared (first use in this function)
166 | xe_for_each_gt(fd, gt)
| ^~
../../../usr/src/igt-gpu-tools/lib/xe/xe_query.h:70:7: note: in definition of macro ‘xe_for_each_gt’
70 | for (__gt = 0; __gt < xe_number_gt(__fd); ++__gt)
| ^~~~
../../../usr/src/igt-gpu-tools/tests/xe/xe_store.c:167:32: error: ‘class’ undeclared (first use in this function)
167 | xe_for_each_hw_engine_class(class)
| ^~~~~
../../../usr/src/igt-gpu-tools/lib/xe/xe_query.h:67:7: note: in definition of macro ‘xe_for_each_hw_engine_class’
67 | for (__class = 0; __class < DRM_XE_ENGINE_CLASS_COMPUTE + 1; \
| ^~~~~~~
ninja: build stopped: subcommand failed.
More information about the igt-dev
mailing list