drm/nouveau: Move the fence wait before migration resource clean-up.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 4 Jul 2010 10:54:23 +0000 (12:54 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Jul 2010 00:13:27 +0000 (10:13 +1000)
commit311ab6943fad769a1435bb375d3c821f3b41cdde
treefa628b8e05a22dd689a8ebfde05c8142a13f0be1
parentd3f12da1c5effa7853bdde31f0ea02f6c604dd04
drm/nouveau: Move the fence wait before migration resource clean-up.

Avoids an oops in the fence wait failure path (bug 26521).

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c