public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: igt-dev@lists.freedesktop.org
Subject: [igt-dev] ✗ Fi.CI.BAT: failure for i915: Add gem_vm_create (rev2)
Date: Sat, 30 Mar 2019 10:38:56 -0000	[thread overview]
Message-ID: <20190330103856.11115.68555@emeril.freedesktop.org> (raw)
In-Reply-To: <20190330102946.3021-1-chris@chris-wilson.co.uk>

== 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@sta/i915_gem_vm.c.o'.
FAILED: lib/lib@@igt-i915_gem_vm_c@sta/i915_gem_vm.c.o 
ccache cc -Ilib/lib@@igt-i915_gem_vm_c@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@sta/i915_gem_vm.c.o' -MF 'lib/lib@@igt-i915_gem_vm_c@sta/i915_gem_vm.c.o.d' -o 'lib/lib@@igt-i915_gem_vm_c@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.

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-03-30 10:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-30 10:29 [igt-dev] [PATCH i-g-t] i915: Add gem_vm_create Chris Wilson
2019-03-30 10:38 ` Patchwork [this message]
2019-04-01  8:12 ` Tvrtko Ursulin
2019-04-01  8:52   ` Chris Wilson
2019-04-01  8:59     ` Tvrtko Ursulin
2019-04-01  9:04       ` Chris Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190330103856.11115.68555@emeril.freedesktop.org \
    --to=patchwork@emeril.freedesktop.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox