✗ Fi.CI.BAT: failure for Refactor to expand subslice mask (rev3)

Patchwork
2019-04-26T20:47:07Z

== Series Details ==

Series: Refactor to expand subslice mask (rev3)
URL : https://patchwork.freedesktop.org/series/59742/
State : failure

== Summary ==

CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
CC drivers/gpu/drm/i915/gt/header_test_intel_sseu.o
In file included from drivers/gpu/drm/i915/gt/header_test_intel_sseu.c:1:0:
drivers/gpu/drm/i915/gt/intel_sseu.h:16:31: error: implicit declaration of function ‘DIV_ROUND_UP’ [-Werror=implicit-function-declaration]
#define GEN_SSEU_STRIDE(bits) DIV_ROUND_UP(bits, BITS_PER_BYTE)
^
drivers/gpu/drm/i915/gt/intel_sseu.h:17:33: note: in expansion of macro ‘GEN_SSEU_STRIDE’
#define GEN_MAX_SUBSLICE_STRIDE GEN_SSEU_STRIDE(GEN_MAX_SUBSLICES)
^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h:21:36: note: in expansion of macro ‘GEN_MAX_SUBSLICE_STRIDE’
u8 subslice_mask[GEN_MAX_SLICES * GEN_MAX_SUBSLICE_STRIDE];
^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h:16:50: error: ‘BITS_PER_BYTE’ undeclared here (not in a function); did you mean ‘BITS_PER_LONG’?
#define GEN_SSEU_STRIDE(bits) DIV_ROUND_UP(bits, BITS_PER_BYTE)
^
drivers/gpu/drm/i915/gt/intel_sseu.h:17:33: note: in expansion of macro ‘GEN_SSEU_STRIDE’
#define GEN_MAX_SUBSLICE_STRIDE GEN_SSEU_STRIDE(GEN_MAX_SUBSLICES)
^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h:21:36: note: in expansion of macro ‘GEN_MAX_SUBSLICE_STRIDE’
u8 subslice_mask[GEN_MAX_SLICES * GEN_MAX_SUBSLICE_STRIDE];
^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h: In function ‘sseu_subslice_total’:
drivers/gpu/drm/i915/gt/intel_sseu.h:84:18: error: implicit declaration of function ‘ARRAY_SIZE’ [-Werror=implicit-function-declaration]
for (i = 0; i < ARRAY_SIZE(sseu->subslice_mask); i++)
^~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h:85:12: error: implicit declaration of function ‘hweight8’ [-Werror=implicit-function-declaration]
total += hweight8(sseu->subslice_mask[i]);
^~~~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h: In function ‘sseu_copy_subslices’:
drivers/gpu/drm/i915/gt/intel_sseu.h:108:2: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration]
memcpy(&to_mask[offset], &from_mask[offset], sseu->ss_stride);
^~~~~~
drivers/gpu/drm/i915/gt/intel_sseu.h:108:2: error: incompatible implicit declaration of built-in function ‘memcpy’ [-Werror]
drivers/gpu/drm/i915/gt/intel_sseu.h:108:2: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
cc1: all warnings being treated as errors
scripts/Makefile.build:275: recipe for target 'drivers/gpu/drm/i915/gt/header_test_intel_sseu.o' failed
make[5]: *** [drivers/gpu/drm/i915/gt/header_test_intel_sseu.o] Error 1
scripts/Makefile.build:486: recipe for target 'drivers/gpu/drm/i915/gt' failed
make[4]: *** [drivers/gpu/drm/i915/gt] Error 2
scripts/Makefile.build:486: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:486: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:486: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1051: recipe for target 'drivers' failed
make: *** [drivers] Error 2