Skip to contentSkip to conversation

drm/nouveau: fix nv84 fence context leak

PATCH New Lucas Stach 1 participant 1 message Oct 25, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/nouveau/nouveau_fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_fence.c +1 -1
index 4bb9ab8..098044c 100644
@@ -586,5 +586,5 @@ static const struct fence_ops nouveau_fence_ops_uevent = {
 	.enable_signaling = nouveau_fence_enable_signaling,
 	.signaled = nouveau_fence_is_signaled,
 	.wait = fence_default_wait,
-	.release = NULL
+	.release = nouveau_fence_release
 };
Signature · 6 lines
2.7.4

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau