[Mesa-dev] [PATCH 3/3] winsys/radeon: disable virtual address space by default

Marek Olšák maraeo at gmail.com
Thu Aug 30 08:35:29 PDT 2012


This fixes hangs on Cayman. We should have this patch in stable branches,
but it would be better to have it in master as well for Cayman to be usable.
---
 src/gallium/winsys/radeon/drm/radeon_drm_winsys.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index c03dd04..f4999ed 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -303,6 +303,9 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
                                       &ws->info.r600_ib_vm_max_size))
                 ws->info.r600_virtual_address = FALSE;
         }
+        /* Remove this line once the virtual address space feature is fixed. */
+        if (!debug_get_bool_option("RADEON_VA", FALSE))
+            ws->info.r600_virtual_address = FALSE;
     }
 
     /* Get max pipes, this is only needed for compute shaders.  All evergreen+
-- 
1.7.9.5



More information about the mesa-dev mailing list