diff options
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nv50/nv50_screen.c | 2 |
2 files changed, 2 insertions, 2 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]; diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 7ff11ea4b0b..fe8712d1765 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -641,7 +641,7 @@ nv50_screen_make_buffers_resident(struct nv50_screen *screen) const unsigned flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_RD; - MARK_RING(chan, 5, 5); + MARK_RING(chan, 0, 5); nouveau_bo_validate(chan, screen->code, flags); nouveau_bo_validate(chan, screen->uniforms, flags); nouveau_bo_validate(chan, screen->txc, flags); |