r300g: remove one flush
authorMarek Olšák <maraeo@gmail.com>
Tue, 1 Jun 2010 22:44:09 +0000 (00:44 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 2 Jun 2010 02:59:00 +0000 (04:59 +0200)
Looks like it's not needed now.

src/gallium/drivers/r300/r300_transfer.c

index 363fb692f0658f5ad6c9954e7c5da0403fb5b4fd..22dff41ccec8835d24fca11458c592472f080ff7 100644 (file)
@@ -78,11 +78,6 @@ static void r300_copy_into_tiled_texture(struct pipe_context *ctx,
     subsrc.face = 0;
     subsrc.level = 0;
 
-    /* XXX this flush prevents the following DRM error from occuring:
-     * [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation !
-     * Reproducible with perf/copytex. */
-    ctx->flush(ctx, 0, NULL);
-
     ctx->resource_copy_region(ctx, tex, transfer->sr,
                              transfer->box.x, transfer->box.y, transfer->box.z,
                              &r300transfer->detiled_texture->b.b, subsrc,