summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_transfer.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-17 01:01:42 +0200
committerLuca Barbieri <[email protected]>2010-08-21 20:42:14 +0200
commit6931a01222beab107cb65067270770e3406425e2 (patch)
tree3e008decd6f52d98e058e90cd60f5b9fe6a5cf18 /src/gallium/drivers/nvfx/nvfx_transfer.c
parent07b6fde4102bfa5097b3c16cf23a6d60357e5463 (diff)
nvfx: fire ring after transfers
Might reduce the risk of running out of memory
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_transfer.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_transfer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_transfer.c b/src/gallium/drivers/nvfx/nvfx_transfer.c
index ca4462ef9dc..7cb47a20f64 100644
--- a/src/gallium/drivers/nvfx/nvfx_transfer.c
+++ b/src/gallium/drivers/nvfx/nvfx_transfer.c
@@ -141,7 +141,12 @@ nvfx_transfer_destroy(struct pipe_context *pipe, struct pipe_transfer *ptx)
FREE(ptx);
}
else
+ {
+ struct nouveau_channel* chan = nvfx_context(pipe)->screen->base.channel;
util_staging_transfer_destroy(pipe, ptx);
+
+ FIRE_RING(chan);
+ }
}
void *