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 mb (dsb sy) is not the...



details:   https://anonhg.NetBSD.org/src/rev/dd54328ef748
branches:  trunk
changeset: 955935:dd54328ef748
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Oct 17 10:46:39 2020 +0000

description:
mb (dsb sy) is not the same as membar_sync (dmb sy) on aarch64

diffstat:

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

diffs (27 lines):

diff -r 558da6a2e3a7 -r dd54328ef748 sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c       Sat Oct 17 10:28:10 2020 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_gart.c       Sat Oct 17 10:46:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_gart.c,v 1.11 2020/01/20 23:22:09 jmcneill Exp $        */
+/*     $NetBSD: radeon_gart.c,v 1.12 2020/10/17 10:46:39 jmcneill Exp $        */
 
 /*
  * Copyright 2008 Advanced Micro Devices, Inc.
@@ -28,7 +28,7 @@
  *          Jerome Glisse
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_gart.c,v 1.11 2020/01/20 23:22:09 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_gart.c,v 1.12 2020/10/17 10:46:39 jmcneill Exp $");
 
 #include <drm/drmP.h>
 #include <drm/radeon_drm.h>
@@ -306,7 +306,7 @@
                    BUS_DMASYNC_PREWRITE);
        }
        if (rdev->gart.ptr != NULL) {
-               membar_sync();          /* XXX overkill */
+               mb();
                radeon_gart_tlb_flush(rdev);
        }
 }



Home | Main Index | Thread Index | Old Index