gallium/i965g: hide that utterly broken driver better
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Nov 2011 21:24:26 +0000 (22:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Nov 2011 22:54:47 +0000 (23:54 +0100)
And warn loudly in case people want to use it. Too many tester report
gpu hangs on irc and we rootcause this ...

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
configure.ac

index febb9f68098204a81ff43cdb28eb256c1598ab3d..39d4e0f552e6d262a6d2db2ea6bc821ec76e9af6 100644 (file)
@@ -658,7 +658,7 @@ GALLIUM_DRIVERS_DEFAULT="r300,r600,swrast"
 AC_ARG_WITH([gallium-drivers],
     [AS_HELP_STRING([--with-gallium-drivers@<:@=DIRS...@:>@],
         [comma delimited Gallium drivers list, e.g.
-        "i915,i965,nouveau,r300,r600,svga,swrast"
+        "i915,nouveau,r300,r600,svga,swrast"
         @<:@default=r300,r600,swrast@:>@])],
     [with_gallium_drivers="$withval"],
     [with_gallium_drivers="$GALLIUM_DRIVERS_DEFAULT"])
@@ -2019,10 +2019,17 @@ if echo "$SRC_DIRS" | grep 'gallium' >/dev/null 2>&1; then
     echo "        Winsys dirs:     $GALLIUM_WINSYS_DIRS"
     echo "        Driver dirs:     $GALLIUM_DRIVERS_DIRS"
     echo "        Trackers dirs:   $GALLIUM_STATE_TRACKERS_DIRS"
+   if echo "$GALLIUM_DRIVERS_DIRS" | grep i965 > /dev/null 2>&1; then
+      echo
+      echo "        WARNING: enabling i965 gallium driver"
+      echo "        the i965g driver is currently utterly broken, only for adventurous developers"
+      echo
+   fi
 else
     echo "        Gallium:         no"
 fi
 
+
 dnl Libraries
 echo ""
 echo "        Shared libs:     $enable_shared"