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: Use dma_fence_sign...
details: https://anonhg.NetBSD.org/src/rev/3aa4649ac76a
branches: trunk
changeset: 1028765:3aa4649ac76a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:58:32 2021 +0000
description:
i915: Use dma_fence_signal_locked when we already hold the lock.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_request.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 99e027ddc009 -r 3aa4649ac76a sys/external/bsd/drm2/dist/drm/i915/i915_request.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_request.c Sun Dec 19 11:58:25 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_request.c Sun Dec 19 11:58:32 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_request.c,v 1.5 2021/12/19 11:36:17 riastradh Exp $ */
+/* $NetBSD: i915_request.c,v 1.6 2021/12/19 11:58:32 riastradh Exp $ */
/*
* Copyright © 2008-2015 Intel Corporation
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_request.c,v 1.5 2021/12/19 11:36:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_request.c,v 1.6 2021/12/19 11:58:32 riastradh Exp $");
#include <linux/dma-fence-array.h>
#include <linux/irq_work.h>
@@ -1607,7 +1607,7 @@
i915_request_completed(rq));
}
if (timeout > 0) /* succeeded before timeout */
- dma_fence_signal(&rq->fence);
+ dma_fence_signal_locked(&rq->fence);
spin_unlock(rq->fence.lock);
DRM_DESTROY_WAITQUEUE(&wait.wq);
#else
Home |
Main Index |
Thread Index |
Old Index