drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer
authorBen Skeggs <bskeggs@redhat.com>
Tue, 28 Aug 2018 04:10:42 +0000 (14:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:28 +0000 (06:54 +1000)
commit51ed833c881b9d96557c773f6a37018d79e29a46
tree4335ce43b696b7bd4340ed1851e9e9157801f659
parenta43b16dda2d7485f5c5aed075c1dc9785e339515
drm/nouveau/mmu: don't attempt to dereference vmm without valid instance pointer

Fixes oopses in certain failure paths.

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