lib: Also copy vc4_packet.h
Subsystems (3)
PATCH 1/2 lib: Also copy vc4_packet.h
Eric missed in
commit d21e95ca81da6f9332999ceebe6b42e4425d3bb6
Author: Eric Anholt <[email protected]> Date: Fri Nov 10 12:39:56 2017 -0800
tests: Remove libdrm_vc4 dependency.
that the uapi headers don't include vc4_packet.h. Which totally broke the build.
Strangely CI didn't catch this in the first build attempt, no idea how/where it picked up the vc4_packet.h.
As an interim solution let's just copy the one I have from libdrm over. Long-term we might want to either re-intro the libdrm_vc4 dpendency, or maybe put vc4_packet.h into the kernel's uapi folder, or something else. But that's up to Eric.
--- lib/Makefile.am | 3 +- lib/meson.build | 1 + lib/vc4_packet.h | 397 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 400 insertions(+), 1 deletion(-) create mode 100644 lib/vc4_packet.h
lib/Makefile.am +2 -1
@@ -13,7 +13,8 @@ noinst_HEADERS = check-ndebug.h if BUILD_VC4 libintel_tools_la_SOURCES += \ igt_vc4.c \ - igt_vc4.h + igt_vc4.h \ + vc4_packet.h endif if !HAVE_LIBDRM_INTEL
lib/meson.build +1 -0
@@ -48,6 +48,7 @@ lib_headers = [ 'uwildmat/uwildmat.h', 'igt_kmod.h', 'igt_vc4.h', + 'vc4_packet.h', ] lib_sources = [
lib/vc4_packet.h new file +397 -0
397 lines not on this page · raw message
Signature · 6 lines
2.15.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 automake: include drm-uapi headers in EXTRA_DIST
This breaks make distcheck otherwise.
--- Makefile.am | 2 +- benchmarks/Makefile.am | 3 ++- configure.ac | 2 ++ include/Makefile.am | 1 + include/drm-uapi/Makefile.am | 28 ++++++++++++++++++++++++++++ 5 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 include/Makefile.am create mode 100644 include/drm-uapi/Makefile.am
Makefile.am +1 -1
@@ -21,7 +21,7 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -SUBDIRS = lib man tools scripts benchmarks +SUBDIRS = lib man tools scripts benchmarks include if BUILD_TESTS SUBDIRS += tests
benchmarks/Makefile.am +2 -1
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/include/drm-uapi \ -I$(top_srcdir)/lib -AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) \ +AM_CFLAGS = -I$(top_srcdir)/include/drm-uapi \ + $(DRM_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS) $(LIBUNWIND_CFLAGS) \ $(WERROR_CFLAGS) -D_GNU_SOURCE LDADD = $(top_builddir)/lib/libintel_tools.la
configure.ac +2 -0
@@ -413,6 +413,8 @@ AC_CONFIG_FILES([ tools/Makefile tools/null_state_gen/Makefile tools/registers/Makefile + include/Makefile + include/drm-uapi/Makefile debugger/Makefile debugger/system_routine/Makefile assembler/Makefile
include/Makefile.am new file +1 -0
@@ -0,0 +1 @@ +SUBDIRS = . drm-uapi
include/drm-uapi/Makefile.am new file +28 -0
@@ -0,0 +1,28 @@ +EXTRA_DIST = \ + amdgpu_drm.h \ + armada_drm.h \ + drm_fourcc.h \ + drm.h \ + drm_mode.h \ + drm_sarea.h \ + etnaviv_drm.h \ + exynos_drm.h \ + i810_drm.h \ + i915_drm.h \ + Makefile.am \ + mga_drm.h \ + msm_drm.h \ + nouveau_drm.h \ + omap_drm.h \ + qxl_drm.h \ + r128_drm.h \ + radeon_drm.h \ + savage_drm.h \ + sis_drm.h \ + tegra_drm.h \ + vc4_drm.h \ + vgem_drm.h \ + via_drm.h \ + virtgpu_drm.h \ + vmwgfx_drm.h \ + $(NULL)
Signature · 6 lines
2.15.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t 2/2] automake: include drm-uapi headers in EXTRA_DIST
Series is reviewed and tested and pushed, thanks.
Signature · 5 lines
Petri Latvala _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH i-g-t 2/2] automake: include drm-uapi headers in EXTRA_DIST
Quoted 1 line · Petri Latvala
Series is reviewed and tested and pushed, thanks.
Thanks, sorry for the fallout!
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for series starting with [1/2] lib: Also copy vc4_packet.h
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/2] lib: Also copy vc4_packet.h
URL : https://patchwork.freedesktop.org/series/34225/
State : failure
== Summary ==
Series 34225 revision 1 was fully merged or fully failed: no git log
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx