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];
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);
n = nvc0->residents_size / sizeof(struct resident);
n += NVC0_SCREEN_RESIDENT_BO_COUNT;
- MARK_RING(nvc0->screen->base.channel, n, n);
+ MARK_RING(nvc0->screen->base.channel, 0, n);
for (ctx = 0; ctx < NVC0_BUFCTX_COUNT; ++ctx) {
array = &nvc0->residents[ctx];
const unsigned flags = NOUVEAU_BO_VRAM | NOUVEAU_BO_RD;
- MARK_RING(chan, 5, 5);
+ MARK_RING(chan, 0, 5);
nouveau_bo_validate(chan, screen->text, flags);
nouveau_bo_validate(chan, screen->uniforms, flags);
nouveau_bo_validate(chan, screen->txc, flags);