v3d: Include v3d_drm.h path.
authorVinson Lee <vlee@freedesktop.org>
Thu, 17 May 2018 22:39:50 +0000 (22:39 +0000)
committerEric Anholt <eric@anholt.net>
Mon, 21 May 2018 18:15:47 +0000 (11:15 -0700)
Fix build error.

  CC       v3d_blit.lo
In file included from v3d_blit.c:27:0:
v3d_context.h:39:10: fatal error: v3d_drm.h: No such file or directory
 #include "v3d_drm.h"
          ^~~~~~~~~~~

Fixes: 8a793d42f1cc ("v3d: Switch the vc5 driver to using the finalized V3D UABI.")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/Makefile.am

index 2b4c364c24eba8aa4c1291259df928f199c69f29..ff0334a2396ce575aa30ae2eed258bb3843e8b00 100644 (file)
@@ -24,6 +24,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        -I$(top_builddir)/src/compiler/nir \
+       -I$(top_srcdir)/include/drm-uapi \
        -I$(top_builddir)/src/broadcom \
        $(LIBDRM_CFLAGS) \
        $(V3D_SIMULATOR_CFLAGS) \