Re: [Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [PXP,CLEAN,v06,01/27] drm/i915/pxp: Introduce Intel PXP component

Jani Nikula
2020-11-23T15:13:50Z

On Sat, 14 Nov 2020, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> == Series Details ==
>
> Series: series starting with [PXP,CLEAN,v06,01/27] drm/i915/pxp: Introduce Intel PXP component
> URL : https://patchwork.freedesktop.org/series/83843/
> State : failure
>
> == Summary ==
>
> CALL scripts/checksyscalls.sh
> CALL scripts/atomic/check-atomics.sh
> DESCEND objtool
> CHK include/generated/compile.h
> HDRTEST drivers/gpu/drm/i915/pxp/intel_pxp_context.h
> In file included from <command-line>:
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:14:15: error: field ‘ctx_mutex’ has incomplete type
> struct mutex ctx_mutex;
> ^~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:21:28: error: ‘MAX_TYPE0_SESSIONS’ undeclared here (not in a function)
> u32 type0_session_pxp_tag[MAX_TYPE0_SESSIONS];
> ^~~~~~~~~~~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:22:28: error: ‘MAX_TYPE1_SESSIONS’ undeclared here (not in a function)
> u32 type1_session_pxp_tag[MAX_TYPE1_SESSIONS];
> ^~~~~~~~~~~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:39:51: error: ‘struct drm_i915_private’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> struct pxp_context *intel_pxp_create_r0ctx(struct drm_i915_private *i915);
> ^~~~~~~~~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:40:37: error: ‘struct drm_i915_private’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> void intel_pxp_destroy_r0ctx(struct drm_i915_private *i915);
> ^~~~~~~~~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:42:32: error: ‘struct drm_i915_private’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> int intel_pxp_set_r3ctx(struct drm_i915_private *i915, u32 r3ctx);
> ^~~~~~~~~~~~~~~~
> ./drivers/gpu/drm/i915/pxp/intel_pxp_context.h:43:42: error: ‘struct drm_i915_private’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> void intel_pxp_destroy_r3ctx_list(struct drm_i915_private *i915);
> ^~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> drivers/gpu/drm/i915/Makefile:312: recipe for target 'drivers/gpu/drm/i915/pxp/intel_pxp_context.hdrtest' failed
> make[4]: *** [drivers/gpu/drm/i915/pxp/intel_pxp_context.hdrtest] Error 1
> scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm/i915' failed
> make[3]: *** [drivers/gpu/drm/i915] Error 2
> scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm' failed
> make[2]: *** [drivers/gpu/drm] Error 2
> scripts/Makefile.build:500: recipe for target 'drivers/gpu' failed
> make[1]: *** [drivers/gpu] Error 2
> Makefile:1799: recipe for target 'drivers' failed
> make: *** [drivers] Error 2

Please enable DRM_I915_WERROR=y locally, and fix this stuff.

BR,
Jani.

>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

--
Jani Nikula, Intel Open Source Graphics Center