[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Transform WaInPlaceDecompressionHang to a simple reg write
Patchwork
patchwork at emeril.freedesktop.org
Wed Sep 6 21:58:50 UTC 2017
== Series Details ==
Series: drm/i915: Transform WaInPlaceDecompressionHang to a simple reg write
URL : https://patchwork.freedesktop.org/series/29906/
State : failure
== Summary ==
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
CHK kernel/config_data.h
CC [M] drivers/gpu/drm/i915/intel_engine_cs.o
In file included from drivers/gpu/drm/i915/selftests/mock_engine.h:32:0,
from drivers/gpu/drm/i915/selftests/mock_engine.c:25,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/../intel_ringbuffer.h: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/../intel_ringbuffer.h:740:0: error: unterminated argument list invoking macro "I915_WRITE"
#endif /* _INTEL_RINGBUFFER_H_ */
drivers/gpu/drm/i915/intel_engine_cs.c:988:3: error: ‘I915_WRITE’ undeclared (first use in this function)
I915_WRITE(GEN9_GAMT_ECO_REG_RW_IA,
^~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c:988:3: note: each undeclared identifier is reported only once for each function it appears in
In file included from drivers/gpu/drm/i915/selftests/mock_engine.c:25:0,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/mock_engine.h:34:1: error: expected ‘;’ before ‘struct’
struct mock_engine {
^~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.h:42:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
^~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.h:49:20: error: invalid storage class for function ‘mock_seqno_advance’
static inline void mock_seqno_advance(struct intel_engine_cs *engine, u32 seqno)
^~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c:28:50: error: ‘struct mock_engine’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
static struct mock_request *first_request(struct mock_engine *engine)
^~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:28:29: error: invalid storage class for function ‘first_request’
static struct mock_request *first_request(struct mock_engine *engine)
^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:10:0,
from ./include/linux/spinlock.h:50,
from ./include/linux/mmzone.h:7,
from ./include/linux/gfp.h:5,
from ./include/linux/slab.h:14,
from ./include/linux/io-mapping.h:22,
from drivers/gpu/drm/i915/i915_drv.h:36,
from drivers/gpu/drm/i915/intel_engine_cs.c:25:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘first_request’:
drivers/gpu/drm/i915/selftests/mock_engine.c:30:41: error: dereferencing pointer to incomplete type ‘struct mock_engine’
return list_first_entry_or_null(&engine->hw_queue,
^
./include/linux/list.h:398:30: note: in definition of macro ‘list_first_entry_or_null’
struct list_head *head__ = (ptr); \
^~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/mock_engine.c:35:13: error: invalid storage class for function ‘hw_delay_complete’
static void hw_delay_complete(unsigned long data)
^~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘hw_delay_complete’:
drivers/gpu/drm/i915/selftests/mock_engine.c:40:19: error: dereferencing pointer to incomplete type ‘struct mock_engine’
spin_lock(&engine->hw_lock);
^~
drivers/gpu/drm/i915/selftests/mock_engine.c:42:26: error: passing argument 1 of ‘first_request’ from incompatible pointer type [-Werror=incompatible-pointer-types]
request = first_request(engine);
^~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:28:29: note: expected ‘struct mock_engine *’ but argument is of type ‘struct mock_engine *’
static struct mock_request *first_request(struct mock_engine *engine)
^~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:48:26: error: passing argument 1 of ‘first_request’ from incompatible pointer type [-Werror=incompatible-pointer-types]
request = first_request(engine);
^~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:28:29: note: expected ‘struct mock_engine *’ but argument is of type ‘struct mock_engine *’
static struct mock_request *first_request(struct mock_engine *engine)
^~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/mock_engine.c:56:1: error: invalid storage class for function ‘mock_context_pin’
mock_context_pin(struct intel_engine_cs *engine,
^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:63:13: error: invalid storage class for function ‘mock_context_unpin’
static void mock_context_unpin(struct intel_engine_cs *engine,
^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:69:12: error: invalid storage class for function ‘mock_request_alloc’
static int mock_request_alloc(struct drm_i915_gem_request *request)
^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:79:12: error: invalid storage class for function ‘mock_emit_flush’
static int mock_emit_flush(struct drm_i915_gem_request *request,
^~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:85:13: error: invalid storage class for function ‘mock_emit_breadcrumb’
static void mock_emit_breadcrumb(struct drm_i915_gem_request *request,
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:90:13: error: invalid storage class for function ‘mock_submit_request’
static void mock_submit_request(struct drm_i915_gem_request *request)
^~~~~~~~~~~~~~~~~~~
In file included from ./include/uapi/linux/stddef.h:1:0,
from ./include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from ./include/uapi/linux/types.h:13,
from ./include/linux/types.h:5,
from ./include/uapi/drm/drm.h:41,
from ./include/uapi/drm/i915_drm.h:30,
from drivers/gpu/drm/i915/i915_drv.h:33,
from drivers/gpu/drm/i915/intel_engine_cs.c:25:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘mock_submit_request’:
drivers/gpu/drm/i915/selftests/mock_engine.c:94:40: error: dereferencing pointer to incomplete type ‘struct mock_engine’
container_of(request->engine, typeof(*engine), base);
^~
./include/linux/compiler.h:523:19: note: in definition of macro ‘__compiletime_assert’
bool __cond = !(condition); \
^~~~~~~~~
./include/linux/compiler.h:546:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:46:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:20: note: in expansion of macro ‘__same_type’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:94:3: note: in expansion of macro ‘container_of’
container_of(request->engine, typeof(*engine), base);
^~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/mock_engine.c:106:27: error: invalid storage class for function ‘mock_ring’
static struct intel_ring *mock_ring(struct intel_engine_cs *engine)
^~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:125:25: error: static declaration of ‘mock_engine’ follows non-static declaration
struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
^~~~~~~~~~~
In file included from drivers/gpu/drm/i915/selftests/mock_engine.c:25:0,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/mock_engine.h:42:25: note: previous declaration of ‘mock_engine’ was here
struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
^~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘mock_engine’:
drivers/gpu/drm/i915/selftests/mock_engine.c:133:26: error: dereferencing pointer to incomplete type ‘struct mock_engine’
engine = kzalloc(sizeof(*engine) + PAGE_SIZE, GFP_KERNEL);
^~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:147:2: error: invalid use of undefined type ‘struct mock_engine’
engine->base.status_page.page_addr = (void *)(engine + 1);
^~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/mock_engine.c:172:6: error: static declaration of ‘mock_engine_flush’ follows non-static declaration
void mock_engine_flush(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/selftests/mock_engine.c:25:0,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/mock_engine.h:45:6: note: previous declaration of ‘mock_engine_flush’ was here
void mock_engine_flush(struct intel_engine_cs *engine);
^~~~~~~~~~~~~~~~~
In file included from ./include/uapi/linux/stddef.h:1:0,
from ./include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from ./include/uapi/linux/types.h:13,
from ./include/linux/types.h:5,
from ./include/uapi/drm/drm.h:41,
from ./include/uapi/drm/i915_drm.h:30,
from drivers/gpu/drm/i915/i915_drv.h:33,
from drivers/gpu/drm/i915/intel_engine_cs.c:25:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘mock_engine_flush’:
drivers/gpu/drm/i915/selftests/mock_engine.c:175:31: error: dereferencing pointer to incomplete type ‘struct mock_engine’
container_of(engine, typeof(*mock), base);
^~
./include/linux/compiler.h:523:19: note: in definition of macro ‘__compiletime_assert’
bool __cond = !(condition); \
^~~~~~~~~
./include/linux/compiler.h:546:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:46:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:20: note: in expansion of macro ‘__same_type’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:175:3: note: in expansion of macro ‘container_of’
container_of(engine, typeof(*mock), base);
^~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/selftests/mock_engine.c:188:6: error: static declaration of ‘mock_engine_reset’ follows non-static declaration
void mock_engine_reset(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/selftests/mock_engine.c:25:0,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/mock_engine.h:46:6: note: previous declaration of ‘mock_engine_reset’ was here
void mock_engine_reset(struct intel_engine_cs *engine);
^~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
drivers/gpu/drm/i915/selftests/mock_engine.c:193:6: error: static declaration of ‘mock_engine_free’ follows non-static declaration
void mock_engine_free(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/selftests/mock_engine.c:25:0,
from drivers/gpu/drm/i915/intel_engine_cs.c:1402:
drivers/gpu/drm/i915/selftests/mock_engine.h:47:6: note: previous declaration of ‘mock_engine_free’ was here
void mock_engine_free(struct intel_engine_cs *engine);
^~~~~~~~~~~~~~~~
In file included from ./include/uapi/linux/stddef.h:1:0,
from ./include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from ./include/uapi/linux/types.h:13,
from ./include/linux/types.h:5,
from ./include/uapi/drm/drm.h:41,
from ./include/uapi/drm/i915_drm.h:30,
from drivers/gpu/drm/i915/i915_drv.h:33,
from drivers/gpu/drm/i915/intel_engine_cs.c:25:
drivers/gpu/drm/i915/selftests/mock_engine.c: In function ‘mock_engine_free’:
drivers/gpu/drm/i915/selftests/mock_engine.c:196:31: error: dereferencing pointer to incomplete type ‘struct mock_engine’
container_of(engine, typeof(*mock), base);
^~
./include/linux/compiler.h:523:19: note: in definition of macro ‘__compiletime_assert’
bool __cond = !(condition); \
^~~~~~~~~
./include/linux/compiler.h:546:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:46:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
./include/linux/kernel.h:860:20: note: in expansion of macro ‘__same_type’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:196:3: note: in expansion of macro ‘container_of’
container_of(engine, typeof(*mock), base);
^~~~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c: In function ‘skl_init_workarounds’:
drivers/gpu/drm/i915/intel_engine_cs.c:1403:0: error: expected declaration or statement at end of input
#endif
In file included from drivers/gpu/drm/i915/intel_engine_cs.c:1402:0:
At top level:
drivers/gpu/drm/i915/selftests/mock_engine.c:193:6: error: ‘mock_engine_free’ defined but not used [-Werror=unused-function]
void mock_engine_free(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:188:6: error: ‘mock_engine_reset’ defined but not used [-Werror=unused-function]
void mock_engine_reset(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:172:6: error: ‘mock_engine_flush’ defined but not used [-Werror=unused-function]
void mock_engine_flush(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/selftests/mock_engine.c:125:25: error: ‘mock_engine’ defined but not used [-Werror=unused-function]
struct intel_engine_cs *mock_engine(struct drm_i915_private *i915,
^~~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c:962:12: error: ‘skl_init_workarounds’ defined but not used [-Werror=unused-function]
static int skl_init_workarounds(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c:921:12: error: ‘skl_tune_iz_hashing’ defined but not used [-Werror=unused-function]
static int skl_tune_iz_hashing(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c:780:12: error: ‘chv_init_workarounds’ defined but not used [-Werror=unused-function]
static int chv_init_workarounds(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_engine_cs.c:748:12: error: ‘bdw_init_workarounds’ defined but not used [-Werror=unused-function]
static int bdw_init_workarounds(struct intel_engine_cs *engine)
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'drivers/gpu/drm/i915/intel_engine_cs.o' failed
make[4]: *** [drivers/gpu/drm/i915/intel_engine_cs.o] Error 1
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1019: recipe for target 'drivers' failed
make: *** [drivers] Error 2
More information about the Intel-gfx
mailing list