From c92a3ae7e99e5271ae0671da1bd5b74fc6c41d2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 1 Jun 2016 18:39:53 +0200 Subject: [PATCH] r600g: remove a CP DMA workaround that's not needed anymore MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Alex Deucher Tested-by: Grazvydas Ignotas Tested-by: Dieter Nützel --- src/gallium/drivers/r600/r600_blit.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 76c3364a818..c9d7823d20c 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -519,12 +519,6 @@ static void r600_copy_buffer(struct pipe_context *ctx, struct pipe_resource *dst } else { util_resource_copy_region(ctx, dst, 0, dstx, 0, 0, src, 0, src_box); } - - /* The index buffer (VGT) doesn't seem to see the result of the copying. - * Can we somehow flush the index buffer cache? Starting a new IB seems - * to do the trick. */ - if (rctx->b.chip_class <= R700) - rctx->b.gfx.flush(ctx, RADEON_FLUSH_ASYNC, NULL); } /** -- 2.30.2