[Mesa-dev] [PATCH 5/5] v3d: Enable the driver by default.

Eric Anholt eric at anholt.net
Tue May 1 20:51:56 UTC 2018


Now that we have a stabilized ABI and a fairly conformant driver, turn it
on.
---
 configure.ac                        | 2 +-
 src/gallium/drivers/v3d/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d5228032bb7b..626b238511e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2727,7 +2727,7 @@ if test -n "$with_gallium_drivers"; then
             PKG_CHECK_MODULES([V3D_SIMULATOR], [v3dv3],
                               [USE_V3D_SIMULATOR=yes;
                                DEFINES="$DEFINES -DUSE_V3D_SIMULATOR"],
-                              [AC_MSG_ERROR([vc5 requires the simulator])])
+                              [USE_V3D_SIMULATOR=no])
             ;;
         xpl111)
             HAVE_GALLIUM_PL111=yes
diff --git a/src/gallium/drivers/v3d/meson.build b/src/gallium/drivers/v3d/meson.build
index 38021515eda6..18e68a626968 100644
--- a/src/gallium/drivers/v3d/meson.build
+++ b/src/gallium/drivers/v3d/meson.build
@@ -53,7 +53,7 @@ files_per_version = files(
 )
 
 v3dv3_c_args = []
-dep_v3dv3 = dependency('v3dv3')
+dep_v3dv3 = dependency('v3dv3', required: false)
 if dep_v3dv3.found()
   v3dv3_c_args = '-DUSE_V3D_SIMULATOR'
 endif
-- 
2.17.0



More information about the mesa-dev mailing list