summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-02 00:44:09 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-02 04:59:00 +0200
commit9f8dbd33961e12887ee4f9521be30c6c94e81a5d (patch)
tree455f646b514f810bbb64982a8c30d32217ee70b1
parent489f637741da5d3dea2c9eb858a64b15f9af0e3f (diff)
r300g: remove one flush
Looks like it's not needed now.
-rw-r--r--src/gallium/drivers/r300/r300_transfer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index 363fb692f06..22dff41ccec 100644
--- a/src/gallium/drivers/r300/r300_transfer.c
+++ b/src/gallium/drivers/r300/r300_transfer.c
@@ -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,