nouveau: move card initialisation into the drm
authorBen Skeggs <skeggsb@gmail.com>
Mon, 26 Mar 2007 09:43:48 +0000 (19:43 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 26 Mar 2007 10:59:37 +0000 (20:59 +1000)
commit674cefd4fe4b537a20a10edcb4ec5df55facca8e
treea4df293b2fd8b5224821faa537f2631342f7407c
parent5ad43f46759ff1eb473c9101e7de0d46a4ed8177
nouveau: move card initialisation into the drm

The PGRAPH init for the various cards will need cleaning up at some point,
a lot of the values written there are per-context state left over from the
all the hardcoding done in the ddx.

It's possible some cards get broken by this commit, let me know.
Tested on: NV5, NV18, NV28, NV35, NV40, NV4E
25 files changed:
linux-core/Makefile.kernel
linux-core/nv04_fb.c [new symlink]
linux-core/nv04_mc.c [new symlink]
linux-core/nv04_timer.c [new symlink]
linux-core/nv10_fb.c [new symlink]
linux-core/nv40_fb.c [new symlink]
linux-core/nv40_mc.c [new symlink]
shared-core/nouveau_drm.h
shared-core/nouveau_drv.h
shared-core/nouveau_fifo.c
shared-core/nouveau_irq.c
shared-core/nouveau_mem.c
shared-core/nouveau_reg.h
shared-core/nouveau_state.c
shared-core/nv04_fb.c [new file with mode: 0644]
shared-core/nv04_graph.c
shared-core/nv04_mc.c [new file with mode: 0644]
shared-core/nv04_timer.c [new file with mode: 0644]
shared-core/nv10_fb.c [new file with mode: 0644]
shared-core/nv10_graph.c
shared-core/nv20_graph.c
shared-core/nv30_graph.c
shared-core/nv40_fb.c [new file with mode: 0644]
shared-core/nv40_graph.c
shared-core/nv40_mc.c [new file with mode: 0644]