drm/nouveau: call drm_vblank_cleanup() earlier
authorBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 00:49:47 +0000 (10:49 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:39:19 +0000 (13:39 +1000)
commit1139ffb96b3f4e8be9006552d2dd4d302d62c2ee
tree7ee5b899a72c2ded6b00a77ba4a3de365a320daf
parent2332b31116d5500d05173b2a7aaa95ba15d7983a
drm/nouveau: call drm_vblank_cleanup() earlier

Fixes a NULL-ptr deref seen on module unload sometimes.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c