mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 10:40:12 +01:00
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.
This commit is contained in:
parent
2540ea7dc6
commit
cd924de029
1 changed files with 0 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue