r600g: disable GPUVM by default
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Aug 2013 01:11:22 +0000 (21:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Aug 2013 14:51:25 +0000 (10:51 -0400)
Cayman and trinity systems still seem to suffer from
stability problems with GPUVM.  This also fixes compute
on these asics.  It can still be enabled for testing
by setting env var RADEON_VA=true.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=65958

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
CC: "9.2" <mesa-stable@lists.freedesktop.org>
CC: "9.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c

index 033e78f79719eee885b43ca70b1ed5d34ac7ba0d..69c42a07ea7d8ae6d140c434bc656f782aefe0f4 100644 (file)
@@ -404,7 +404,7 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
                                       &ws->info.r600_ib_vm_max_size))
                 ws->info.r600_virtual_address = FALSE;
         }
-       if (ws->gen == DRV_R600 && !debug_get_bool_option("RADEON_VA", TRUE))
+       if (ws->gen == DRV_R600 && !debug_get_bool_option("RADEON_VA", FALSE))
                ws->info.r600_virtual_address = FALSE;
     }