[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/perf: Do not parse context image for HSW

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 23 01:24:45 UTC 2022


== Series Details ==

Series: drm/i915/perf: Do not parse context image for HSW
URL   : https://patchwork.freedesktop.org/series/111231/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
  CC [M]  drivers/gpu/drm/i915/i915_perf.o
drivers/gpu/drm/i915/i915_perf.c: In function ‘oa_context_image_offset’:
drivers/gpu/drm/i915/i915_perf.c:1387:3: error: expected ‘)’ before ‘return’
   return U32_MAX;
   ^~~~~~
drivers/gpu/drm/i915/i915_perf.c:1386:5: note: to match this ‘(’
  if (drm_WARN_ON(&ce->engine->i915->drm, state == NULL)
     ^
drivers/gpu/drm/i915/i915_perf.c:1406:1: error: expected expression before ‘}’ token
 }
 ^
drivers/gpu/drm/i915/i915_perf.c:1383:14: error: unused variable ‘len’ [-Werror=unused-variable]
  u32 offset, len = (ce->engine->context_size - PAGE_SIZE) / 4;
              ^~~
drivers/gpu/drm/i915/i915_perf.c:1383:6: error: unused variable ‘offset’ [-Werror=unused-variable]
  u32 offset, len = (ce->engine->context_size - PAGE_SIZE) / 4;
      ^~~~~~
drivers/gpu/drm/i915/i915_perf.c:1406:1: error: no return statement in function returning non-void [-Werror=return-type]
 }
 ^
At top level:
drivers/gpu/drm/i915/i915_perf.c:1363:13: error: ‘oa_find_reg_in_lri’ defined but not used [-Werror=unused-function]
 static bool oa_find_reg_in_lri(u32 *state, u32 reg, u32 *offset, u32 end)
             ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:250: recipe for target 'drivers/gpu/drm/i915/i915_perf.o' failed
make[5]: *** [drivers/gpu/drm/i915/i915_perf.o] Error 1
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm/i915' failed
make[4]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm' failed
make[3]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu' failed
make[2]: *** [drivers/gpu] Error 2
scripts/Makefile.build:500: recipe for target 'drivers' failed
make[1]: *** [drivers] Error 2
Makefile:1992: recipe for target '.' failed
make: *** [.] Error 2




More information about the Intel-gfx mailing list