diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-04-06 03:03:59 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-04-06 03:26:19 +1000 |
commit | 38f52402a8b7126f0c1ceccf7c1843b1a5247ef6 (patch) | |
tree | 01209407c96c9055c94dc93992198a33610f024a /shared-core | |
parent | 9c793716591c141d7bb1796f5dc6473c45d9545c (diff) |
nouveau: Power up all card units by default on startup.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/nv04_mc.c | 5 | ||||
-rw-r--r-- | shared-core/nv40_mc.c | 5 |
2 files changed, 10 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; 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) { |