Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 1 | #include "drmP.h" |
| 2 | #include "drm.h" |
| 3 | #include "nouveau_drv.h" |
Ben Skeggs | 9458029 | 2012-07-06 12:14:00 +1000 | [diff] [blame] | 4 | #include <nouveau_drm.h> |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 5 | |
| 6 | int |
| 7 | nv04_mc_init(struct drm_device *dev) |
| 8 | { |
| 9 | /* Power up everything, resetting each individual unit will |
| 10 | * be done later if needed. |
| 11 | */ |
| 12 | |
| 13 | nv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF); |
Francisco Jerez | 112d20a | 2010-07-10 18:10:59 +0200 | [diff] [blame] | 14 | |
| 15 | /* Disable PROM access. */ |
| 16 | nv_wr32(dev, NV_PBUS_PCI_NV_20, NV_PBUS_PCI_NV_20_ROM_SHADOW_ENABLED); |
| 17 | |
Ben Skeggs | 6ee7386 | 2009-12-11 19:24:15 +1000 | [diff] [blame] | 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | void |
| 22 | nv04_mc_takedown(struct drm_device *dev) |
| 23 | { |
| 24 | } |