diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-08-08 10:42:12 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-08-08 10:49:05 +1000 |
commit | 4ad487190d5b79947c65e238330506db6b77e523 (patch) | |
tree | 048537f612445e068189fdcfeb8b74d654d3ded0 /shared-core/nv10_graph.c | |
parent | a4759b85139dd8d81de25e170777309b770f5316 (diff) |
nouveau: enable/disable engine-specific interrupts in _init()/_takedown()
All interrupts are still masked by PMC until init is finished.
Diffstat (limited to 'shared-core/nv10_graph.c')
-rw-r--r-- | shared-core/nv10_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nv10_graph.c b/shared-core/nv10_graph.c index a2df2d71..53b93758 100644 --- a/shared-core/nv10_graph.c +++ b/shared-core/nv10_graph.c @@ -690,8 +690,8 @@ int nv10_graph_init(struct drm_device *dev) { NV_WRITE(NV03_PMC_ENABLE, NV_READ(NV03_PMC_ENABLE) | NV_PMC_ENABLE_PGRAPH); - NV_WRITE(NV03_PGRAPH_INTR_EN, 0x00000000); NV_WRITE(NV03_PGRAPH_INTR , 0xFFFFFFFF); + NV_WRITE(NV03_PGRAPH_INTR_EN, 0xFFFFFFFF); NV_WRITE(NV04_PGRAPH_DEBUG_0, 0xFFFFFFFF); NV_WRITE(NV04_PGRAPH_DEBUG_0, 0x00000000); |