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/dist/drm/i915/gt i915: what we hath cr...



details:   https://anonhg.NetBSD.org/src/rev/52a6e0835c79
branches:  trunk
changeset: 1028756:52a6e0835c79
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:57:19 2021 +0000

description:
i915: what we hath created, we must destroy

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/gt/intel_timeline.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6c85f9fc99b8 -r 52a6e0835c79 sys/external/bsd/drm2/dist/drm/i915/gt/intel_timeline.c
--- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_timeline.c   Sun Dec 19 11:57:11 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_timeline.c   Sun Dec 19 11:57:19 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_timeline.c,v 1.3 2021/12/19 11:49:11 riastradh Exp $     */
+/*     $NetBSD: intel_timeline.c,v 1.4 2021/12/19 11:57:19 riastradh Exp $     */
 
 /*
  * SPDX-License-Identifier: MIT
@@ -7,7 +7,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_timeline.c,v 1.3 2021/12/19 11:49:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_timeline.c,v 1.4 2021/12/19 11:57:19 riastradh Exp $");
 
 #include "i915_drv.h"
 
@@ -287,6 +287,8 @@
                i915_gem_object_unpin_map(timeline->hwsp_ggtt->obj);
 
        i915_vma_put(timeline->hwsp_ggtt);
+
+       mutex_destroy(&timeline->mutex);
 }
 
 struct intel_timeline *



Home | Main Index | Thread Index | Old Index