Mesa (9.0): winsys/radeon: disable virtual memory on Cayman
Marek Olšák
mareko at kemper.freedesktop.org
Fri Aug 31 16:06:58 UTC 2012
Module: Mesa
Branch: 9.0
Commit: ef557eacfffedd58dea4645c317ea8140daa3475
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef557eacfffedd58dea4645c317ea8140daa3475
Author: Marek Olšák <maraeo at gmail.com>
Date: Thu Aug 30 16:36:21 2012 +0200
winsys/radeon: disable virtual memory on Cayman
It hangs.
---
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index c03dd04..a7711f7 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 (ws->gen == R600 && !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+
More information about the mesa-commit
mailing list