drm/nouveau: idle channel before releasing notify object
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 3 Mar 2013 17:58:45 +0000 (18:58 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Mar 2013 22:43:05 +0000 (08:43 +1000)
commit2b77c1c01b556045c451f034389932efb5b71c58
tree45a8002914ec8d2089913f277b21849238ac09e7
parentc8f28f89566321842afb81d3ddd79d611e3587ce
drm/nouveau: idle channel before releasing notify object

Unmapping it while it's still in use (e.g. by M2MF) can lead to page faults
and a lot of TRAP_M2MF spam in dmesg.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_abi16.c