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 We want to use a drive...



details:   https://anonhg.NetBSD.org/src/rev/82401b0a926d
branches:  trunk
changeset: 1028247:82401b0a926d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:55:55 2021 +0000

description:
We want to use a driver-global lock, not a queue-specific one.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ce08cb0f8552 -r 82401b0a926d sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Sun Dec 19 09:55:48 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Sun Dec 19 09:55:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_fence.c,v 1.18 2021/12/19 01:50:00 riastradh Exp $      */
+/*     $NetBSD: radeon_fence.c,v 1.19 2021/12/19 09:55:55 riastradh Exp $      */
 
 /*
  * Copyright 2009 Jerome Glisse.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.18 2021/12/19 01:50:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_fence.c,v 1.19 2021/12/19 09:55:55 riastradh Exp $");
 
 #include <linux/atomic.h>
 #include <linux/firmware.h>
@@ -155,7 +155,7 @@
        (*fence)->ring = ring;
        (*fence)->is_vm_update = false;
        dma_fence_init(&(*fence)->base, &radeon_fence_ops,
-                      &rdev->fence_queue.lock,
+                      &rdev->fence_lock,
                       rdev->fence_context + ring,
                       seq);
        radeon_fence_ring_emit(rdev, ring, *fence);



Home | Main Index | Thread Index | Old Index