summaryrefslogtreecommitdiff
path: root/shared-core/nv40_mc.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-12 08:55:51 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-12 08:55:51 -0700
commite7b97f552390319d817595da8accefbe56199346 (patch)
treebbf84467b34e7041e2cee218441871d0518046e7 /shared-core/nv40_mc.c
parentf2e3d790ac05b2792e795f47fee32fe896a096cc (diff)
parentcf016891435a0aa74dc4909ed4125c7ed906b7d1 (diff)
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
Diffstat (limited to 'shared-core/nv40_mc.c')
-rw-r--r--shared-core/nv40_mc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/nv40_mc.c b/shared-core/nv40_mc.c
index 554a2241..8dbd96fd 100644
--- a/shared-core/nv40_mc.c
+++ b/shared-core/nv40_mc.c
@@ -9,6 +9,11 @@ nv40_mc_init(drm_device_t *dev)
drm_nouveau_private_t *dev_priv = dev->dev_private;
uint32_t tmp;
+ /* Power up everything, resetting each individual unit will
+ * be done later if needed.
+ */
+ NV_WRITE(NV03_PMC_ENABLE, 0xFFFFFFFF);
+
NV_WRITE(NV03_PMC_INTR_EN_0, 0);
switch (dev_priv->chipset) {