From: Alex Deucher Date: Fri, 9 Aug 2013 01:11:22 +0000 (-0400) Subject: r600g: disable GPUVM by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c88783047e2a0faa39d6f3ac6fbd3f26a480d5d3;p=mesa.git r600g: disable GPUVM by default 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 CC: "9.2" CC: "9.1" Reviewed-by: Christian König --- diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 033e78f7971..69c42a07ea7 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -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; }