diff options
author | Patrice Mandin <pmandin@caramail.com> | 2007-11-14 23:31:59 +0100 |
---|---|---|
committer | Patrice Mandin <pmandin@caramail.com> | 2007-11-14 23:32:43 +0100 |
commit | 46235ea4595152d8dd5f016c18c6845a77db30b0 (patch) | |
tree | 7d3a17d05dbc78a11e729ad64341d7f9f00e951d | |
parent | 68cdcda1eaf02353f2ef2d637c6bf1003c849185 (diff) |
nouveau: nv30: missing ramin init, does it brake other hw?
-rw-r--r-- | shared-core/nv20_graph.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shared-core/nv20_graph.c b/shared-core/nv20_graph.c index 797983f6..dace7edb 100644 --- a/shared-core/nv20_graph.c +++ b/shared-core/nv20_graph.c @@ -432,6 +432,19 @@ static void nv30_31_graph_context_init(struct drm_device *dev, INSTANCE_WR(ctx, 0x385c/4, 0x3f800000); INSTANCE_WR(ctx, 0x3864/4, 0xbf800000); INSTANCE_WR(ctx, 0x386c/4, 0xbf800000); + + /* nv30gl stuff */ + for (i=0; i<8; i++) { + INSTANCE_WR(ctx, (0x4dfc/4)+i, 0x001c527d); + } + INSTANCE_WR(ctx, 0x4e3c/4, 0x001c527c); +/* these ones make dma fifo hang + INSTANCE_WR(ctx, 0x567c/4, 0x000a0000); + INSTANCE_WR(ctx, 0x0878/4, 0x01000000); + INSTANCE_WR(ctx, 0x02f4/4, 0x0001ffff); + + INSTANCE_WR(ctx, 0x0028/4, INSTANCE_RD(ctx, 0x0028/4) | 1); +*/ } static void nv34_graph_context_init(struct drm_device *dev, |