✗ Fi.CI.BUILD: failure for series starting with [1/2] drm/i915/active: Stop using active barriers as fence trackers

Patchwork patchwork at emeril.freedesktop.org
Wed Jan 25 02:37:20 UTC 2023


== Series Details ==

Series: series starting with [1/2] drm/i915/active: Stop using active barriers as fence trackers
URL   : https://patchwork.freedesktop.org/series/113268/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  CC [M]  drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o
In file included from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:415:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c: In function ‘__live_idle_pulse’:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:117:42: error: macro "spin_lock_irqsave" requires 2 arguments, but only 1 given
  117 |  spin_lock_irqsave(&engine->barriers_lock);
      |                                          ^
In file included from ./include/linux/rwsem.h:15,
                 from ./include/linux/notifier.h:15,
                 from ./include/linux/pm_qos.h:16,
                 from ./drivers/gpu/drm/i915/i915_drv.h:35,
                 from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:6:
./include/linux/spinlock.h:378: note: macro "spin_lock_irqsave" defined here
  378 | #define spin_lock_irqsave(lock, flags)    \
      | 
In file included from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:415:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:117:2: error: ‘spin_lock_irqsave’ undeclared (first use in this function); did you mean ‘spin_lock_irq’?
  117 |  spin_lock_irqsave(&engine->barriers_lock);
      |  ^~~~~~~~~~~~~~~~~
      |  spin_lock_irq
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:117:2: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:119:2: error: too few arguments to function ‘spin_unlock_irqrestore’
  119 |  spin_unlock_irqrestore(&engine->barriers_lock);
      |  ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/rwsem.h:15,
                 from ./include/linux/notifier.h:15,
                 from ./include/linux/pm_qos.h:16,
                 from ./drivers/gpu/drm/i915/i915_drv.h:35,
                 from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:6:
./include/linux/spinlock.h:403:29: note: declared here
  403 | static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
      |                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:415:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:125:42: error: macro "spin_lock_irqsave" requires 2 arguments, but only 1 given
  125 |  spin_lock_irqsave(&engine->barriers_lock);
      |                                          ^
In file included from ./include/linux/rwsem.h:15,
                 from ./include/linux/notifier.h:15,
                 from ./include/linux/pm_qos.h:16,
                 from ./drivers/gpu/drm/i915/i915_drv.h:35,
                 from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:6:
./include/linux/spinlock.h:378: note: macro "spin_lock_irqsave" defined here
  378 | #define spin_lock_irqsave(lock, flags)    \
      | 
In file included from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:415:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:127:2: error: too few arguments to function ‘spin_unlock_irqrestore’
  127 |  spin_unlock_irqrestore(&engine->barriers_lock);
      |  ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/rwsem.h:15,
                 from ./include/linux/notifier.h:15,
                 from ./include/linux/pm_qos.h:16,
                 from ./drivers/gpu/drm/i915/i915_drv.h:35,
                 from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:6:
./include/linux/spinlock.h:403:29: note: declared here
  403 | static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
      |                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c:415:
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c:93:16: error: unused variable ‘flags’ [-Werror=unused-variable]
   93 |  unsigned long flags;
      |                ^~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:252: drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o] Error 1
make[4]: *** [scripts/Makefile.build:504: drivers/gpu/drm/i915] Error 2
make[3]: *** [scripts/Makefile.build:504: drivers/gpu/drm] Error 2
make[2]: *** [scripts/Makefile.build:504: drivers/gpu] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make: *** [Makefile:2021: .] Error 2




More information about the Intel-gfx-trybot mailing list