Commit 9a47a657 authored by Lucas Stach's avatar Lucas Stach Committed by Ben Skeggs

drm/nouveau: fix nv84 fence context leak

uevent based fences hold a reference to the fence context,
just like the legacy ones. So they need to drop this reference
in the same way.
Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b74c0a99
...@@ -586,5 +586,5 @@ static const struct dma_fence_ops nouveau_fence_ops_uevent = { ...@@ -586,5 +586,5 @@ static const struct dma_fence_ops nouveau_fence_ops_uevent = {
.enable_signaling = nouveau_fence_enable_signaling, .enable_signaling = nouveau_fence_enable_signaling,
.signaled = nouveau_fence_is_signaled, .signaled = nouveau_fence_is_signaled,
.wait = dma_fence_default_wait, .wait = dma_fence_default_wait,
.release = NULL .release = nouveau_fence_release
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment