mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: unpin notify object in chan_fini
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
1af7c7dd21
commit
198c14a0da
|
@ -129,6 +129,7 @@ nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16,
|
||||||
|
|
||||||
if (chan->ntfy) {
|
if (chan->ntfy) {
|
||||||
nouveau_bo_vma_del(chan->ntfy, &chan->ntfy_vma);
|
nouveau_bo_vma_del(chan->ntfy, &chan->ntfy_vma);
|
||||||
|
nouveau_bo_unpin(chan->ntfy);
|
||||||
drm_gem_object_unreference_unlocked(chan->ntfy->gem);
|
drm_gem_object_unreference_unlocked(chan->ntfy->gem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue