nouveau: PPC fixes. These regs are very touchy.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sun, 14 Oct 2007 21:07:30 +0000 (23:07 +0200)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sun, 14 Oct 2007 21:08:36 +0000 (23:08 +0200)
shared-core/nouveau_state.c

index 3ce9247f7ab03b291757e03548505b3b0d531ac2..add2d598855542668367969e91552937934f5d57 100644 (file)
@@ -285,7 +285,9 @@ nouveau_card_init(struct drm_device *dev)
 
        /* Put the card in BE mode if it's not */
        if (NV_READ(NV03_PMC_BOOT_1))
-               NV_WRITE(NV03_PMC_BOOT_1,0x01000001);
+               NV_WRITE(NV03_PMC_BOOT_1,0x00000001);
+
+       DRM_MEMORYBARRIER();
 
        /* Determine exact chipset we're running on */
        if (dev_priv->card_type < NV_10)