Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/linux drm: Release fence in dma_fence_...



details:   https://anonhg.NetBSD.org/src/rev/c614047016e1
branches:  trunk
changeset: 1028988:c614047016e1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:39:16 2021 +0000

description:
drm: Release fence in dma_fence_chain_walk.

diffstat:

 sys/external/bsd/drm2/linux/linux_dma_fence_chain.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c7a9c65a499b -r c614047016e1 sys/external/bsd/drm2/linux/linux_dma_fence_chain.c
--- a/sys/external/bsd/drm2/linux/linux_dma_fence_chain.c       Sun Dec 19 12:39:09 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_fence_chain.c       Sun Dec 19 12:39:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_dma_fence_chain.c,v 1.1 2021/12/19 10:47:06 riastradh Exp $      */
+/*     $NetBSD: linux_dma_fence_chain.c,v 1.2 2021/12/19 12:39:16 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_fence_chain.c,v 1.1 2021/12/19 10:47:06 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_fence_chain.c,v 1.2 2021/12/19 12:39:16 riastradh Exp $");
 
 #include <sys/types.h>
 
@@ -103,6 +103,7 @@
 {
 
        /* XXX */
+       dma_fence_put(fence);
        return NULL;
 }
 



Home | Main Index | Thread Index | Old Index