r600g: remove a CP DMA workaround that's not needed anymore
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Jun 2016 16:39:53 +0000 (18:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Jun 2016 13:42:33 +0000 (15:42 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/r600/r600_blit.c

index 76c3364a818efc2596778960db0609db0cea7279..c9d7823d20c609ad293065c590c3a557630594e8 100644 (file)
@@ -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);
 }
 
 /**