On 02/12/2024 10:59, Jani Nikula wrote:
On Fri, 29 Nov 2024, Patchwork <patchwork@xxxxxxxxxxxxxxxxxxxxxx> wrote:
== Series Details ==
Series: drm/i915: Add drm_panic support
URL : https://patchwork.freedesktop.org/series/141935/
State : failure
== Summary ==
Error: make failed
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
CC [M] drivers/gpu/drm/xe/i915-display/intel_atomic_plane.o
drivers/gpu/drm/i915/display/intel_atomic_plane.c:46:10: fatal error: gem/i915_gem_object.h: No such file or directory
46 | #include "gem/i915_gem_object.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
The i915 display code is reused in xe with some Makefile magic. You'll
need to enable both i915 and xe configs when making changes.
You can't use gem/i915_gem_object.h from code that gets built for
xe. See intel_bo.[ch] in both i915 and xe for abstraction.
Ok, thanks. When I got this errors, I stopped building xe while trying
to make it work on i915. (and forget about it before sending the RFC).
I'm rewriting this part, to have something that works on both.
best regards,
--
Jocelyn
BR,
Jani.
make[6]: *** [drivers/gpu/drm/xe/Makefile:165: drivers/gpu/drm/xe/i915-display/intel_atomic_plane.o] Error 1
make[5]: *** [scripts/Makefile.build:478: drivers/gpu/drm/xe] Error 2
make[4]: *** [scripts/Makefile.build:478: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:478: drivers/gpu] Error 2
make[2]: *** [scripts/Makefile.build:478: drivers] Error 2
make[1]: *** [/home/kbuild2/kernel/Makefile:1936: .] Error 2
make: *** [Makefile:224: __sub-make] Error 2
Build failed, no error log produced