v3d: Enable the driver by default.
authorEric Anholt <eric@anholt.net>
Tue, 1 May 2018 19:20:11 +0000 (12:20 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 16 May 2018 20:19:07 +0000 (21:19 +0100)
Now that we have a stabilized ABI and a fairly conformant driver, turn it
on.

configure.ac
src/gallium/drivers/v3d/meson.build

index a73471b7b45c53dd48b721fd53e9551ae5f6e0fd..30980151ee103f9905e5022c52e9d3efb9cc6691 100644 (file)
@@ -2740,7 +2740,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
index 38021515eda67a732ec88c29612e6976082a5794..18e68a6269681865b4a52bc3670fbbc9c8c4b6bd 100644 (file)
@@ -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