diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-03-07 14:38:05 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-03-07 15:18:34 +1100 |
commit | cd924de02927a091c517b0ac6b9cd8f065ce448c (patch) | |
tree | ffce4f70b4f1637dd2cf1e4fa7edf7fda0385db1 | |
parent | 2540ea7dc6c0c4f0ebca3370d6ec7359e4276e13 (diff) |
nouveau: don't touch NV_USER regs on channel destroy.
Not only was this entirely pointless, it actually causes my NV30GL to
die randomly when channels are destroyed.
-rw-r--r-- | shared-core/nouveau_fifo.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/shared-core/nouveau_fifo.c b/shared-core/nouveau_fifo.c index 056cb6d0..8e93207e 100644 --- a/shared-core/nouveau_fifo.c +++ b/shared-core/nouveau_fifo.c @@ -433,13 +433,6 @@ void nouveau_fifo_free(struct nouveau_channel *chan) NV_WRITE(NV03_PFIFO_CACHE1_PUSH0, 0x00000000); NV_WRITE(NV04_PFIFO_CACHE1_PULL0, 0x00000000); - /* stop the fifo, otherwise it could be running and - * it will crash when removing gpu objects - *XXX: from real-world evidence, absolutely useless.. - */ - NV_WRITE(chan->get, chan->pushbuf_base); - NV_WRITE(chan->put, chan->pushbuf_base); - // FIXME XXX needs more code engine->fifo.destroy_context(chan); |