summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.c
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2011-10-09 00:10:47 +0200
committerMarcin Slusarz <[email protected]>2011-10-09 14:49:30 +0200
commitf03810fbdd41012422f6920c2026c49927bcb820 (patch)
tree467a2ba37ab96d9d785b788adad261bd3549f587 /src/gallium/drivers/nv50/nv50_context.c
parent9849f366cbfd781ebeca725058029b70c96836f9 (diff)
nv50,nvc0: avoid unnecessary flushes
Relocations don't consume pushbuffer space, so there is no need to ensure there is any space in pushbuffer.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 0d464063b5b..a48b86474d1 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -205,7 +205,7 @@ nv50_bufctx_emit_relocs(struct nv50_context *nv50)
n = nv50->residents_size / sizeof(struct resident);
n += NV50_SCREEN_RESIDENT_BO_COUNT;
- MARK_RING(nv50->screen->base.channel, n, n);
+ MARK_RING(nv50->screen->base.channel, 0, n);
for (ctx = 0; ctx < NV50_BUFCTX_COUNT; ++ctx) {
array = &nv50->residents[ctx];