nouveau: We'll need syncNotifier for NV_MEMORY_TO_MEMORY_FORMAT too.
authorBen Skeggs <darktama@iinet.net.au>
Wed, 27 Dec 2006 04:54:30 +0000 (15:54 +1100)
committerBen Skeggs <darktama@iinet.net.au>
Wed, 27 Dec 2006 12:53:25 +0000 (23:53 +1100)
src/mesa/drivers/dri/nouveau/nouveau_sync.c

index e27101d..0bf20e7 100644 (file)
@@ -125,6 +125,11 @@ GLboolean nouveauSyncInitFuncs(GLcontext *ctx)
         */
        BEGIN_RING_CACHE(NvSub3D, 0x180, 1);
        OUT_RING_CACHE  (NvSyncNotify);
+#ifdef ALLOW_MULTI_SUBCHANNEL
+       BEGIN_RING_SIZE(NvSubMemFormat,
+                       NV_MEMORY_TO_MEMORY_FORMAT_DMA_NOTIFY, 1);
+       OUT_RING       (NvSyncNotify);
+#endif
 
        return GL_TRUE;
 }