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/radeon radeon: Use dma_fence_...
details: https://anonhg.NetBSD.org/src/rev/60963a901600
branches: trunk
changeset: 1028477:60963a901600
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:08:17 2021 +0000
description:
radeon: Use dma_fence_signal_locked when we already hold lock.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 02e6f482c811 -r 60963a901600 sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c Sun Dec 19 11:08:10 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c Sun Dec 19 11:08:17 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeon_fence.c,v 1.19 2021/12/19 09:55:55 riastradh Exp $ */
+/* $NetBSD: radeon_fence.c,v 1.20 2021/12/19 11:08:17 riastradh Exp $ */
/*
* Copyright 2009 Jerome Glisse.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.19 2021/12/19 09:55:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.20 2021/12/19 11:08:17 riastradh Exp $");
#include <linux/atomic.h>
#include <linux/firmware.h>
@@ -521,7 +521,7 @@
if (radeon_fence_seq_signaled(fence->rdev, fence->seq, fence->ring)) {
int ret;
- ret = dma_fence_signal(&fence->base);
+ ret = dma_fence_signal_locked(&fence->base);
if (!ret)
DMA_FENCE_TRACE(&fence->base, "signaled from radeon_fence_signaled\n");
return true;
Home |
Main Index |
Thread Index |
Old Index