✗ Fi.CI.BUILD: failure for drm/i915: Disable pre-emption for gen8 (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue Jul 2 14:26:57 UTC 2024


== Series Details ==

Series: drm/i915: Disable pre-emption for gen8 (rev3)
URL   : https://patchwork.freedesktop.org/series/135598/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  CC [M]  drivers/gpu/drm/i915/gt/intel_execlists_submission.o
drivers/gpu/drm/i915/gt/intel_execlists_submission.c: In function ‘need_preempt’:
drivers/gpu/drm/i915/gt/intel_execlists_submission.c:314:55: error: passing argument 1 of ‘can_preempt’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  314 |  if ((GRAPHICS_VER(engine->i915) <= 8) && can_preempt(engine))
      |                                                       ^~~~~~
drivers/gpu/drm/i915/gt/intel_execlists_submission.c:297:49: note: expected ‘struct intel_engine_cs *’ but argument is of type ‘const struct intel_engine_cs *’
  297 | static bool can_preempt(struct intel_engine_cs *engine)
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:244: drivers/gpu/drm/i915/gt/intel_execlists_submission.o] Error 1
make[5]: *** [scripts/Makefile.build:485: drivers/gpu/drm/i915] Error 2
make[4]: *** [scripts/Makefile.build:485: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:485: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:485: drivers] Error 2
make[1]: *** [/home/kbuild/kernel/Makefile:1934: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2
Build failed, no error log produced




More information about the Intel-gfx-trybot mailing list