[Mesa-dev] [PATCH 06/13] r600g: disable async DMA on R700

Marek Olšák maraeo at gmail.com
Sun Apr 20 18:59:27 PDT 2014


From: Marek Olšák <marek.olsak at amd.com>

Cc: 10.0 10.1 mesa-stable at lists.freedesktop.org
---
 src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 0eb0c6a..b53beba 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -282,7 +282,8 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
 
     /* Check for dma */
     ws->info.r600_has_dma = FALSE;
-    if (ws->info.chip_class >= R700 && ws->info.drm_minor >= 27) {
+    /* DMA is disabled on R700. There is IB corruption and hangs. */
+    if (ws->info.chip_class >= EVERGREEN && ws->info.drm_minor >= 27) {
         ws->info.r600_has_dma = TRUE;
     }
 
-- 
1.8.3.2



More information about the mesa-dev mailing list