Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-core-next
[pandora-kernel.git] / drivers / gpu / drm / nouveau / nouveau_notifier.c
index 2cc59f8..d670839 100644 (file)
@@ -80,6 +80,7 @@ nouveau_notifier_takedown_channel(struct nouveau_channel *chan)
        mutex_lock(&dev->struct_mutex);
        nouveau_bo_unpin(chan->notifier_bo);
        mutex_unlock(&dev->struct_mutex);
+       drm_gem_object_handle_unreference_unlocked(chan->notifier_bo->gem);
        drm_gem_object_unreference_unlocked(chan->notifier_bo->gem);
        drm_mm_takedown(&chan->notifier_heap);
 }