summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_fence.c
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2016-10-25 22:55:12 +0300
committerBen Skeggs <bskeggs@redhat.com>2016-11-07 07:04:37 +0300
commit9a47a657bdf2c5f6e718ef8716d2e3985cc8b87b (patch)
treeddbc251cdc2eda84a463d9cf5c1ac592a37be68c /drivers/gpu/drm/nouveau/nouveau_fence.c
parentb74c0a9969f25217a5e5bbcac56a11bee16718d3 (diff)
downloadlinux-9a47a657bdf2c5f6e718ef8716d2e3985cc8b87b.tar.xz
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: Lucas Stach <dev@lynxeye.de> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fence.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.c b/drivers/gpu/drm/nouveau/nouveau_fence.c
index e9529ee6bc23..f2f348f0160c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fence.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fence.c
@@ -586,5 +586,5 @@ static const struct dma_fence_ops nouveau_fence_ops_uevent = {
.enable_signaling = nouveau_fence_enable_signaling,
.signaled = nouveau_fence_is_signaled,
.wait = dma_fence_default_wait,
- .release = NULL
+ .release = nouveau_fence_release
};