]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nouveau: unpin notify object in chan_fini
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Thu, 27 Jun 2013 11:38:20 +0000 (13:38 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 01:55:48 +0000 (11:55 +1000)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_abi16.c

index 1c4c6c9161ac6a675a1ffb3b9af9469669aa5d31..8f467e7bfd196f70a17e892775642aaa7223238e 100644 (file)
@@ -129,6 +129,7 @@ nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16,
 
        if (chan->ntfy) {
                nouveau_bo_vma_del(chan->ntfy, &chan->ntfy_vma);
+               nouveau_bo_unpin(chan->ntfy);
                drm_gem_object_unreference_unlocked(chan->ntfy->gem);
        }