summaryrefslogtreecommitdiff
path: root/shared-core/nv04_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/nv04_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/nv04_mc.c')
-rw-r--r--shared-core/nv04_mc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/nv04_mc.c b/shared-core/nv04_mc.c
index 2619eb71..0e23efb2 100644
--- a/shared-core/nv04_mc.c
+++ b/shared-core/nv04_mc.c
@@ -8,6 +8,11 @@ nv04_mc_init(drm_device_t *dev)
{
drm_nouveau_private_t *dev_priv = dev->dev_private;
+ /* 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);
return 0;