[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915: Remove frontbuffer tracking from gem.

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 25 06:53:47 UTC 2022


== Series Details ==

Series: drm/i915: Remove frontbuffer tracking from gem.
URL   : https://patchwork.freedesktop.org/series/107715/
State : failure

== Summary ==

Error: make failed
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  LD [M]  drivers/gpu/drm/i915/i915.o
  LD [M]  drivers/gpu/drm/i915/kvmgt.o
  HDRTEST drivers/gpu/drm/i915/display/intel_frontbuffer.h
In file included from <command-line>:
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:49:35: error: ‘struct intel_framebuffer’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 void __intel_fb_invalidate(struct intel_framebuffer *front,
                                   ^~~~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:64:56: error: ‘struct intel_framebuffer’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static inline bool intel_frontbuffer_invalidate(struct intel_framebuffer *fb,
                                                        ^~~~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h: In function ‘intel_frontbuffer_invalidate’:
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:72:36: error: dereferencing pointer to incomplete type ‘struct intel_framebuffer’
  frontbuffer_bits = atomic_read(&fb->bits);
                                    ^~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:76:24: error: passing argument 1 of ‘__intel_fb_invalidate’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  __intel_fb_invalidate(fb, origin, frontbuffer_bits);
                        ^~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:49:54: note: expected ‘struct intel_framebuffer *’ but argument is of type ‘struct intel_framebuffer *’
 void __intel_fb_invalidate(struct intel_framebuffer *front,
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h: At top level:
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:80:30: error: ‘struct intel_framebuffer’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 void __intel_fb_flush(struct intel_framebuffer *fb,
                              ^~~~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:92:51: error: ‘struct intel_framebuffer’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static inline void intel_frontbuffer_flush(struct intel_framebuffer *fb,
                                                   ^~~~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h: In function ‘intel_frontbuffer_flush’:
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:100:36: error: dereferencing pointer to incomplete type ‘struct intel_framebuffer’
  frontbuffer_bits = atomic_read(&fb->bits);
                                    ^~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:104:19: error: passing argument 1 of ‘__intel_fb_flush’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  __intel_fb_flush(fb, origin, frontbuffer_bits);
                   ^~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:80:49: note: expected ‘struct intel_framebuffer *’ but argument is of type ‘struct intel_framebuffer *’
 void __intel_fb_flush(struct intel_framebuffer *fb,
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
./drivers/gpu/drm/i915/display/intel_frontbuffer.h: At top level:
./drivers/gpu/drm/i915/display/intel_frontbuffer.h:107:37: error: ‘struct intel_framebuffer’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 void intel_frontbuffer_track(struct intel_framebuffer *old,
                                     ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
drivers/gpu/drm/i915/Makefile:361: recipe for target 'drivers/gpu/drm/i915/display/intel_frontbuffer.hdrtest' failed
make[4]: *** [drivers/gpu/drm/i915/display/intel_frontbuffer.hdrtest] Error 1
scripts/Makefile.build:465: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:465: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1853: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list