tests/xe: Add system_allocator test
PATCH 1/1 tests/xe: Add system_allocator test
Do not review, public checkpoint on progress.
--- include/drm-uapi/xe_drm.h | 1 + lib/xe/xe_ioctl.c | 12 + lib/xe/xe_ioctl.h | 1 + tests/intel/xe_exec_system_allocator.c | 1439 ++++++++++++++++++++++++ tests/meson.build | 1 + 5 files changed, 1454 insertions(+) create mode 100644 tests/intel/xe_exec_system_allocator.c
include/drm-uapi/xe_drm.h +1 -0
@@ -994,6 +994,7 @@ struct drm_xe_vm_bind_op {#define DRM_XE_VM_BIND_FLAG_IMMEDIATE (1 << 1)#define DRM_XE_VM_BIND_FLAG_NULL (1 << 2)#define DRM_XE_VM_BIND_FLAG_DUMPABLE (1 << 3) +#define DRM_XE_VM_BIND_FLAG_SYSTEM_ALLOCATOR (1 << 4)/** @flags: Bind flags */ __u32 flags;
lib/xe/xe_ioctl.c +12 -0
@@ -424,6 +424,18 @@ void *xe_bo_map(int fd, uint32_t bo, size_t size)return __xe_bo_map (fd, bo, size,PROT_WRITE ); } +void *xe_bo_map_fixed (int fd,uint32_t bo,size_t size,uint64_t addr) +{ +uint64_t mmo; +void *map; + + mmo =xe_bo_mmap_offset (fd, bo); + map =mmap ((void *)addr, size,PROT_WRITE ,MAP_SHARED |MAP_FIXED , fd, mmo); +igt_assert (map !=MAP_FAILED ); + +return map; +} +void *xe_bo_mmap_ext (int fd,uint32_t bo,size_t size,int prot) {return __xe_bo_map (fd, bo, size, prot);
lib/xe/xe_ioctl.h +1 -0
@@ -81,6 +81,7 @@ uint32_t xe_exec_queue_create_class(int fd, uint32_t vm, uint16_t class);void xe_exec_queue_destroy (int fd,uint32_t exec_queue);uint64_t xe_bo_mmap_offset (int fd,uint32_t bo);void *xe_bo_map (int fd,uint32_t bo,size_t size); +void *xe_bo_map_fixed (int fd,uint32_t bo,size_t size,long unsigned int addr);void *xe_bo_mmap_ext (int fd,uint32_t bo,size_t size,int prot);int __xe_exec (int fd,struct drm_xe_exec *exec);void xe_exec (int fd,struct drm_xe_exec *exec);
tests/intel/xe_exec_system_allocator.c new file +1439 -0
1,439 lines not on this page · raw message
tests/meson.build +1 -0
@@ -291,6 +291,7 @@ intel_xe_progs = [ 'xe_exec_reset', 'xe_exec_sip', 'xe_exec_store', + 'xe_exec_system_allocator', 'xe_exec_threads', 'xe_exercise_blt', 'xe_gpgpu_fill',
Signature · 1 line
2.34.1
Patchwork
CI✗ Fi.CI.BUILD: failure for tests/xe: Add system_allocator test
== Series Details ==
== Series Details ==
Series: tests/xe: Add system_allocator test
URL : https://patchwork.freedesktop.org/series/137545/
State : failure
== Summary ==
IGT patchset build failed on latest successful build f4e2ada1adec484cf506b5ec7e9acb3ae62228f1 tests/intel/xe_gt_freq: Add a wait after gt reset
Tail of build.log:
[850/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_cflgt3.c.o'. [851/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/i915_perf.c.o'.
[852/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_kblgt3.c.o'. [853/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_cflgt2.c.o'. [854/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_bdw.c.o'. [855/1764] Compiling C object 'tools/i915-perf/d68c898@@i915-perf-reader@exe/i915_perf_reader.c.o'. [856/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_icl.c.o'. [857/1764] Compiling C object 'tools/f9d35d4@@msm_dp_compliance@exe/igt_compliance_utils.c.o'. [858/1764] Compiling C object 'tools/null_state_gen/bfd930e@@intel_null_state_gen@exe/intel_batchbuffer.c.o'. [859/1764] Compiling C object 'tools/f9d35d4@@intel_infoframes@exe/intel_infoframes.c.o'. [860/1764] Compiling C object 'tools/f9d35d4@@intel_error_decode@exe/intel_error_decode.c.o'. [861/1764] Compiling C object 'tools/xe-perf/f41d0c0@@xe-perf-configs@exe/xe_perf_configs.c.o'. [862/1764] Compiling C object 'tools/f9d35d4@@intel_residency@exe/intel_residency.c.o'. [863/1764] Compiling C object 'tools/xe-perf/f41d0c0@@xe-perf-reader@exe/xe_perf_reader.c.o'. [864/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_dg1.c.o'. [865/1764] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'. [866/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_adl.c.o'. [867/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_ehl.c.o'. [868/1764] Compiling C object 'tools/f9d35d4@@gputop@exe/gputop.c.o'.
[869/1764] Compiling C object 'runner/testdata/3f061af@@successtest@exe/successtest.c.o'. [870/1764] Compiling C object 'tools/f9d35d4@@msm_dp_compliance@exe/igt_dp_compliance_hotplug.c.o'. [871/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_tglgt2.c.o'. [872/1764] Compiling C object 'tools/f9d35d4@@intel_dp_compliance@exe/intel_dp_compliance.c.o'. [873/1764] Compiling C object 'tests/59830eb@@gem_exec_fence@exe/intel_gem_exec_fence.c.o'. [874/1764] Compiling C object 'tools/i915-perf/d68c898@@i915-perf-recorder@exe/i915_perf_recorder.c.o'. [875/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_mtlgt3.c.o'. [876/1764] Compiling C object 'tools/xe-perf/f41d0c0@@xe-perf-recorder@exe/xe_perf_recorder.c.o'. [877/1764] Compiling C object 'tests/59830eb@@kms_frontbuffer_tracking@exe/intel_kms_frontbuffer_tracking.c.o'. [878/1764] Compiling C object 'tests/59830eb@@gem_concurrent_all@exe/intel_gem_concurrent_all.c.o'. [879/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_acmgt1.c.o'. [880/1764] Compiling C object 'tools/f9d35d4@@intel_audio_dump@exe/intel_audio_dump.c.o'. [881/1764] Compiling C object 'tools/f9d35d4@@intel_watermark@exe/intel_watermark.c.o'. [882/1764] Compiling C object 'tools/f9d35d4@@intel_display_poller@exe/intel_display_poller.c.o'. [883/1764] Compiling C object 'tests/59830eb@@xe_vm@exe/intel_xe_vm.c.o'.
[884/1764] Compiling C object 'benchmarks/cb1d2fd@@gem_wsim@exe/gem_wsim.c.o'.
[885/1764] Compiling C object 'tests/59830eb@@perf_pmu@exe/intel_perf_pmu.c.o'.
[886/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_acmgt2.c.o'. [887/1764] Compiling C object 'tests/59830eb@@xe_oa@exe/intel_xe_oa.c.o'.
[888/1764] Compiling C object 'tools/f9d35d4@@intel_vbt_decode@exe/intel_vbt_decode.c.o'. [889/1764] Compiling C object 'tests/59830eb@@perf@exe/intel_perf.c.o'.
[890/1764] Compiling C object 'tests/59830eb@@gem_exec_schedule@exe/intel_gem_exec_schedule.c.o'. [891/1764] Linking target lib/libigt.so.0.
[892/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_registers_acmgt3.c.o'. [893/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_mtlgt2.c.o'. [894/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_equations.c.o'. [895/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_mtlgt3.c.o'. [896/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt1.c.o'. [897/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt2.c.o'. [898/1764] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt3.c.o'.
ninja: build stopped: subcommand failed.
Patchwork
CI✗ GitLab.Pipeline: warning for tests/xe: Add system_allocator test
In reply to Matthew Brost== Series Details ==
== Series Details ==
Series: tests/xe: Add system_allocator test
URL : https://patchwork.freedesktop.org/series/137545/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1253896 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525430):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’; did you mean ‘MS_ASYNC’? [-Werror=implicit-function-declaration]
#define FIVE_SEC MS_TO_NS(5000)
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
int64_t timeout = FIVE_SEC;
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
#define FIVE_SEC MS_TO_NS(5000)
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
int64_t timeout = FIVE_SEC;
^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205555:step_script section_start:1724205555:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205556:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525433):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’; did you mean ‘MS_ASYNC’? [-Werror=implicit-function-declaration]
#define FIVE_SEC MS_TO_NS(5000)
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
int64_t timeout = FIVE_SEC;
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
#define FIVE_SEC MS_TO_NS(5000)
^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
int64_t timeout = FIVE_SEC;
^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205556:step_script section_start:1724205556:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205557:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525432):
/usr/bin/arm-linux-gnueabihf-gcc -Ilib/76b5a35@@igt-xe_xe_ioctl_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -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-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-conversion -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 -D_LARGEFILE64_SOURCE=1 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="xe/xe_ioctl"' -MD -MQ 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o' -MF 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o.d' -o 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o' -c ../lib/xe/xe_ioctl.c ../lib/xe/xe_ioctl.c:427:7: error: conflicting types for ‘xe_bo_map_fixed’
void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, uint64_t addr)
^~~~~~~~~~~~~~~
In file included from ../lib/xe/xe_ioctl.c:46:
../lib/xe/xe_ioctl.h:84:7: note: previous declaration of ‘xe_bo_map_fixed’ was here
void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, long unsigned int addr);
^~~~~~~~~~~~~~~
../lib/xe/xe_ioctl.c: In function ‘xe_bo_map_fixed’:
../lib/xe/xe_ioctl.c:433:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
map = mmap((void *)addr, size, PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, mmo);
^ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205523:step_script section_start:1724205523:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205524:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525434):
/usr/bin/mips-linux-gnu-gcc -Ilib/76b5a35@@igt-xe_xe_ioctl_c@sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/mips-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/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -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-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-conversion -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 -D_LARGEFILE64_SOURCE=1 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="xe/xe_ioctl"' -MD -MQ 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o' -MF 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o.d' -o 'lib/76b5a35@@igt-xe_xe_ioctl_c@sta/xe_xe_ioctl.c.o' -c ../lib/xe/xe_ioctl.c ../lib/xe/xe_ioctl.c:427:7: error: conflicting types for ‘xe_bo_map_fixed’
void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, uint64_t addr)
^~~~~~~~~~~~~~~
In file included from ../lib/xe/xe_ioctl.c:46:
../lib/xe/xe_ioctl.h:84:7: note: previous declaration of ‘xe_bo_map_fixed’ was here
void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, long unsigned int addr);
^~~~~~~~~~~~~~~
../lib/xe/xe_ioctl.c: In function ‘xe_bo_map_fixed’:
../lib/xe/xe_ioctl.c:433:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
map = mmap((void *)addr, size, PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, mmo);
^ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205559:step_script section_start:1724205559:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205560:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525425):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’ [-Werror=implicit-function-declaration]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205550:step_script section_start:1724205550:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205551:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525429):
../tests/intel/xe_exec_system_allocator.c:28:22: note: expanded from macro 'QUARTER_SEC'
#define QUARTER_SEC MS_TO_NS(250)
^
../tests/intel/xe_exec_system_allocator.c:947:28: error: implicit declaration of function 'MS_TO_NS' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
exec_queues[e], FIVE_SEC);
^
../tests/intel/xe_exec_system_allocator.c:29:19: note: expanded from macro 'FIVE_SEC'
#define FIVE_SEC MS_TO_NS(5000)
^
../tests/intel/xe_exec_system_allocator.c:1170:11: warning: implicit conversion from 'double' to 'unsigned int' changes value from 0.01 to 0 [-Wliteral-conversion]
sleep(.01);
~~~~~ ^~~ 1 warning and 6 errors generated.
ninja: build stopped: subcommand failed. section_end:1724205568:step_script section_start:1724205568:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205569:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525428):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’ [-Werror=implicit-function-declaration]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205542:step_script section_start:1724205542:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205543:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525426):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’ [-Werror=implicit-function-declaration]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205543:step_script section_start:1724205543:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205545:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/62525427):
../tests/intel/xe_exec_system_allocator.c:29:19: error: implicit declaration of function ‘MS_TO_NS’ [-Werror=implicit-function-declaration]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:29:19: warning: nested extern declaration of ‘MS_TO_NS’ [-Wnested-externs]
29 | #define FIVE_SEC MS_TO_NS(5000)
| ^~~~~~~~
../tests/intel/xe_exec_system_allocator.c:149:20: note: in expansion of macro ‘FIVE_SEC’
149 | int64_t timeout = FIVE_SEC;
| ^~~~~~~~ cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed. section_end:1724205546:step_script section_start:1724205546:cleanup_file_variables Cleaning up project directory and file based variables section_end:1724205547:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1253896