nouveauContextPtr oldNOUVEAUCtx = ctx ? NOUVEAU_CONTEXT(ctx) : NULL;
nouveauContextPtr newNOUVEAUCtx = (nouveauContextPtr) driContextPriv->driverPrivate;
- driDrawableInitVBlank( driDrawPriv, newNOUVEAUCtx->vblank_flags );
+ driDrawableInitVBlank(driDrawPriv, newNOUVEAUCtx->vblank_flags, &newNOUVEAUCtx->vblank_seq );
newNOUVEAUCtx->driDrawable = driDrawPriv;
_mesa_make_current( newNOUVEAUCtx->glCtx,
void nouveauIoctlInitFifo(nouveauContextPtr nmesa)
{
int ret;
- drm_nouveau_fifo_init_t fifo_init;
+ drm_nouveau_fifo_alloc_t fifo_init;
- ret = drmCommandWriteRead(nmesa->driFd, DRM_NOUVEAU_FIFO_INIT, &fifo_init, sizeof(fifo_init));
+ ret = drmCommandWriteRead(nmesa->driFd, DRM_NOUVEAU_FIFO_ALLOC, &fifo_init, sizeof(fifo_init));
if (ret)
FATAL("Fifo initialization ioctl failed (returned %d)\n",ret);
MESSAGE("Fifo init ok. Using context %d\n", fifo_init.channel);