[igt-dev] ✗ Fi.CI.BAT: failure for i915: Add gem_vm_create (rev2)

Patchwork patchwork at emeril.freedesktop.org
Sat Mar 30 10:38:56 UTC 2019


== Series Details ==

Series: i915: Add gem_vm_create (rev2)
URL   : https://patchwork.freedesktop.org/series/58003/
State : failure

== Summary ==

IGT patchset build failed on latest successful build
b93309b7823dcbbd2c52adb4ebb98e3cb060f910 i915_pm_rpm: remove gem-execbuf-stress-extra-wait because same as gem-execbuf-stress

ninja: Entering directory `build'
[1/341] Generating version.h with a custom command.
[2/338] Compiling C object 'lib/lib@@igt-i915_gem_vm_c at sta/i915_gem_vm.c.o'.
FAILED: lib/lib@@igt-i915_gem_vm_c at sta/i915_gem_vm.c.o 
ccache cc -Ilib/lib@@igt-i915_gem_vm_c at sta -Ilib -I../lib -I../include/drm-uapi -I../lib/stubs/syscalls -I. -I../ -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/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/igt/include -I/opt/igt/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include -I/home/cidrm/kernel_headers/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -g -D_GNU_SOURCE -include config.h -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-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 -fPIC -pthread '-DIGT_DATADIR="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/home/cidrm/igt-gpu-tools/tests"' '-DIGT_LOG_DOMAIN="i915/gem_vm"'  -MD -MQ 'lib/lib@@igt-i915_gem_vm_c at sta/i915_gem_vm.c.o' -MF 'lib/lib@@igt-i915_gem_vm_c at sta/i915_gem_vm.c.o.d' -o 'lib/lib@@igt-i915_gem_vm_c at sta/i915_gem_vm.c.o' -c ../lib/i915/gem_vm.c
../lib/i915/gem_vm.c: In function ‘__gem_vm_create’:
../lib/i915/gem_vm.c:72:15: error: variable ‘ctl’ has initializer but incomplete type
        struct drm_i915_gem_vm_control ctl = {};
               ^~~~~~~~~~~~~~~~~~~~~~~
../lib/i915/gem_vm.c:72:39: error: storage size of ‘ctl’ isn’t known
        struct drm_i915_gem_vm_control ctl = {};
                                       ^~~
../lib/i915/gem_vm.c:75:28: error: ‘DRM_IOCTL_I915_GEM_VM_CREATE’ undeclared (first use in this function); did you mean ‘DRM_IOCTL_I915_GEM_CREATE’?
        if (igt_ioctl(i915, DRM_IOCTL_I915_GEM_VM_CREATE, &ctl) == 0) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            DRM_IOCTL_I915_GEM_CREATE
../lib/i915/gem_vm.c:75:28: note: each undeclared identifier is reported only once for each function it appears in
../lib/i915/gem_vm.c:72:39: warning: unused variable ‘ctl’ [-Wunused-variable]
        struct drm_i915_gem_vm_control ctl = {};
                                       ^~~
../lib/i915/gem_vm.c: In function ‘__gem_vm_destroy’:
../lib/i915/gem_vm.c:108:9: error: variable ‘ctl’ has initializer but incomplete type
  struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id };
         ^~~~~~~~~~~~~~~~~~~~~~~
../lib/i915/gem_vm.c:108:42: error: ‘struct drm_i915_gem_vm_control’ has no member named ‘vm_id’
  struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id };
                                          ^~~~~
../lib/i915/gem_vm.c:108:50: warning: excess elements in struct initializer
  struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id };
                                                  ^~~~~
../lib/i915/gem_vm.c:108:50: note: (near initialization for ‘ctl’)
../lib/i915/gem_vm.c:108:33: error: storage size of ‘ctl’ isn’t known
  struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id };
                                 ^~~
../lib/i915/gem_vm.c:111:22: error: ‘DRM_IOCTL_I915_GEM_VM_DESTROY’ undeclared (first use in this function); did you mean ‘DRM_IOCTL_I915_GEM_CONTEXT_DESTROY’?
  if (igt_ioctl(i915, DRM_IOCTL_I915_GEM_VM_DESTROY, &ctl)) {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      DRM_IOCTL_I915_GEM_CONTEXT_DESTROY
../lib/i915/gem_vm.c:108:33: warning: unused variable ‘ctl’ [-Wunused-variable]
  struct drm_i915_gem_vm_control ctl = { .vm_id = vm_id };
                                 ^~~
ninja: build stopped: subcommand failed.



More information about the igt-dev mailing list