nouveau: fix a thinko in copyless pushbuf ioctl
No idea why G80 doesn't hit this, but, this fixes at least one NV40 card.main
parent
8c43b79b21
commit
cbb3ae3dab
|
@ -267,6 +267,8 @@ nouveau_pushbuf_flush(struct nouveau_channel *chan, unsigned min)
|
|||
|
||||
*(nvpb->base.cur++) = nvpb->cal_suffix0;
|
||||
*(nvpb->base.cur++) = nvpb->cal_suffix1;
|
||||
if (nvpb->base.remaining > 2) /* space() will fixup if not */
|
||||
nvpb->base.remaining -= 2;
|
||||
|
||||
req.channel = chan->id;
|
||||
req.handle = nvpb->buffer[nvpb->current]->handle;
|
||||
|
|
Loading…
Reference in New Issue