[Mesa-dev] [PATCH 2/3] r600g/compute: Use the GFX ring for compute

Tom Stellard tom at stellard.net
Fri Apr 26 10:21:05 PDT 2013


From: Tom Stellard <thomas.stellard at amd.com>

Only Cayman has a separate compute ring, but it has some hw bugs, so to
be safe we will stick with the GFX.
---
 src/gallium/drivers/r600/evergreen_compute.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index 8f19dfc..f784bdb 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -421,7 +421,9 @@ static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout,
 	}
 #endif
 
-	flush_flags = RADEON_FLUSH_ASYNC | RADEON_FLUSH_COMPUTE;
+	/* We are not using the compute ring on Cayman, because it has some
+	 * hw bugs related to shader dispatch. */
+	flush_flags = RADEON_FLUSH_ASYNC;
 	if (ctx->keep_tiling_flags) {
 		flush_flags |= RADEON_FLUSH_KEEP_TILING_FLAGS;
 	}
-- 
1.8.1.5



More information about the mesa-dev mailing list