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 i915: Destroy fence work...
details: https://anonhg.NetBSD.org/src/rev/cd6878b371f5
branches: trunk
changeset: 1028818:cd6878b371f5
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:08:02 2021 +0000
description:
i915: Destroy fence work spin lock.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_sw_fence_work.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6513aabbd8f2 -r cd6878b371f5 sys/external/bsd/drm2/dist/drm/i915/i915_sw_fence_work.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_sw_fence_work.c Sun Dec 19 12:07:55 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_sw_fence_work.c Sun Dec 19 12:08:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_sw_fence_work.c,v 1.2 2021/12/18 23:45:28 riastradh Exp $ */
+/* $NetBSD: i915_sw_fence_work.c,v 1.3 2021/12/19 12:08:02 riastradh Exp $ */
// SPDX-License-Identifier: MIT
@@ -7,7 +7,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_sw_fence_work.c,v 1.2 2021/12/18 23:45:28 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_sw_fence_work.c,v 1.3 2021/12/19 12:08:02 riastradh Exp $");
#include "i915_sw_fence_work.h"
@@ -77,6 +77,7 @@
BUILD_BUG_ON(offsetof(typeof(*f), dma));
dma_fence_free(&f->dma);
+ spin_lock_destroy(&f->lock);
}
static const struct dma_fence_ops fence_ops = {
Home |
Main Index |
Thread Index |
Old Index