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 Revert "Add volatile t...



details:   https://anonhg.NetBSD.org/src/rev/8add472ba81b
branches:  trunk
changeset: 365789:8add472ba81b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:45:07 2018 +0000

description:
Revert "Add volatile to the second argument of radeon_kfd_interrupt to appease"

This reverts commit 1692f7bf1e9f150093b3c238f6706301bb243295.

Stack of things that must change is too deep -- let's just use
__UNVOLATILE here.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c |  6 +++---
 sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r a692460f9fb7 -r 8add472ba81b sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c        Mon Aug 27 06:44:53 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c        Mon Aug 27 06:45:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_kfd.c,v 1.3 2018/08/27 06:43:35 riastradh Exp $ */
+/*     $NetBSD: radeon_kfd.c,v 1.4 2018/08/27 06:45:07 riastradh Exp $ */
 
 /*
  * Copyright 2014 Advanced Micro Devices, Inc.
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_kfd.c,v 1.3 2018/08/27 06:43:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_kfd.c,v 1.4 2018/08/27 06:45:07 riastradh Exp $");
 
 #include <linux/module.h>
 #include <linux/fdtable.h>
@@ -210,7 +210,7 @@
        }
 }
 
-void radeon_kfd_interrupt(struct radeon_device *rdev, const volatile void *ih_ring_entry)
+void radeon_kfd_interrupt(struct radeon_device *rdev, const void *ih_ring_entry)
 {
        if (rdev->kfd)
                kgd2kfd->interrupt(rdev->kfd, ih_ring_entry);
diff -r a692460f9fb7 -r 8add472ba81b sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.h
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.h        Mon Aug 27 06:44:53 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.h        Mon Aug 27 06:45:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_kfd.h,v 1.3 2018/08/27 06:43:35 riastradh Exp $ */
+/*     $NetBSD: radeon_kfd.h,v 1.4 2018/08/27 06:45:07 riastradh Exp $ */
 
 /*
  * Copyright 2014 Advanced Micro Devices, Inc.
@@ -41,7 +41,7 @@
 void radeon_kfd_suspend(struct radeon_device *rdev);
 int radeon_kfd_resume(struct radeon_device *rdev);
 void radeon_kfd_interrupt(struct radeon_device *rdev,
-                       const volatile void *ih_ring_entry);
+                       const void *ih_ring_entry);
 void radeon_kfd_device_probe(struct radeon_device *rdev);
 void radeon_kfd_device_init(struct radeon_device *rdev);
 void radeon_kfd_device_fini(struct radeon_device *rdev);



Home | Main Index | Thread Index | Old Index