diff options
author | Marek Olšák <[email protected]> | 2012-08-30 16:36:21 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-31 18:02:35 +0200 |
commit | ef557eacfffedd58dea4645c317ea8140daa3475 (patch) | |
tree | d27d155d23a2b9822a27fbcb17c9244522bd8c57 /src | |
parent | de92b7adca78da1709a7d4d5ac85c961323ece1f (diff) |
winsys/radeon: disable virtual memory on Cayman
It hangs.
Diffstat (limited to 'src')
-rw-r--r-- | 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 c03dd045edf..a7711f7c257 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+ |