Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/external/bsd/drm2/linux Pull up following revision(s)...



details:   https://anonhg.NetBSD.org/src/rev/3bb4674e55ed
branches:  netbsd-9
changeset: 984451:3bb4674e55ed
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jul 08 11:23:28 2021 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #1320):

        sys/external/bsd/drm2/linux/linux_reservation.c: revision 1.12

drm: Release fence after use.

May plug the dreaded radeon kmem memory leak.
XXX pullup-9

diffstat:

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

diffs (26 lines):

diff -r 4907e9b7be28 -r 3bb4674e55ed sys/external/bsd/drm2/linux/linux_reservation.c
--- a/sys/external/bsd/drm2/linux/linux_reservation.c   Thu Jul 08 11:22:01 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_reservation.c   Thu Jul 08 11:23:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_reservation.c,v 1.11 2018/09/03 18:02:11 riastradh Exp $ */
+/*     $NetBSD: linux_reservation.c,v 1.11.8.1 2021/07/08 11:23:28 martin Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_reservation.c,v 1.11 2018/09/03 18:02:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_reservation.c,v 1.11.8.1 2021/07/08 11:23:28 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -796,6 +796,7 @@
        ret = fence_wait_timeout(fence, intr, timeout);
        if (ret <= 0)
                return ret;
+       fence_put(fence);
        KASSERT(ret <= timeout);
        timeout = ret;
        goto top;



Home | Main Index | Thread Index | Old Index