drm/nouveau/ttm: fix crash as a result of a recent ttm change
authorBen Skeggs <bskeggs@redhat.com>
Thu, 22 Dec 2011 05:20:21 +0000 (15:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Dec 2011 05:23:25 +0000 (15:23 +1000)
commitf7b24c42da1a7bbb98145d27aa716d8af3cae2a6
tree78bf7271c755818a83faf713655a69f611cd23df
parentb2e0d195d29326fce6aef8f2f789028bf21d743f
drm/nouveau/ttm: fix crash as a result of a recent ttm change

"drm/ttm: callback move_notify any time bo placement change v4" failed to
avoid a NULL pointer dereference in nouveau caused by move_notify being
expected to handle that case now.

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