[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/gem: Really move i915_gem_context.link under ref protection (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 15 17:18:37 UTC 2022


== Series Details ==

Series: drm/i915/gem: Really move i915_gem_context.link under ref protection (rev3)
URL   : https://patchwork.freedesktop.org/series/105975/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/gem/i915_gem_context.o
drivers/gpu/drm/i915/gem/i915_gem_context.c: In function ‘i915_gem_context_release_work’:
drivers/gpu/drm/i915/gem/i915_gem_context.c:1272:43: error: ‘flags’ undeclared (first use in this function); did you mean ‘class’?
  spin_lock(&ctx->i915->gem.contexts.lock, flags);
                                           ^~~~~
                                           class
drivers/gpu/drm/i915/gem/i915_gem_context.c:1272:43: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/gem/i915_gem_context.c:1272:2: error: too many arguments to function ‘spin_lock’
  spin_lock(&ctx->i915->gem.contexts.lock, flags);
  ^~~~~~~~~
In file included from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from drivers/gpu/drm/i915/gem/i915_gem_context.c:67:
./include/linux/spinlock.h:347:29: note: declared here
 static __always_inline void spin_lock(spinlock_t *lock)
                             ^~~~~~~~~
drivers/gpu/drm/i915/gem/i915_gem_context.c:1274:2: error: too many arguments to function ‘spin_unlock’
  spin_unlock(&ctx->i915->gem.contexts.lock, flags);
  ^~~~~~~~~~~
In file included from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from drivers/gpu/drm/i915/gem/i915_gem_context.c:67:
./include/linux/spinlock.h:387:29: note: declared here
 static __always_inline void spin_unlock(spinlock_t *lock)
                             ^~~~~~~~~~~
scripts/Makefile.build:249: recipe for target 'drivers/gpu/drm/i915/gem/i915_gem_context.o' failed
make[4]: *** [drivers/gpu/drm/i915/gem/i915_gem_context.o] Error 1
scripts/Makefile.build:465: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1852: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list