diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-10-14 23:07:30 +0200 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-10-14 23:08:36 +0200 |
commit | 30353c8efcc026ee8940f3eadab084c42a3acd4e (patch) | |
tree | cb33391dfc3ec5bb93e34a8a01800c3fb01df04a | |
parent | 837e364353b3137ce87b5cce9c06f05a3d603201 (diff) |
nouveau: PPC fixes. These regs are very touchy.
-rw-r--r-- | shared-core/nouveau_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index 3ce9247f..add2d598 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -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) |