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/include/linux Add some <linux/fence.h>...



details:   https://anonhg.NetBSD.org/src/rev/32dc2c76bb7b
branches:  trunk
changeset: 365810:32dc2c76bb7b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:50:20 2018 +0000

description:
Add some <linux/fence.h> prototypes.

diffstat:

 sys/external/bsd/drm2/include/linux/fence.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r de1fe73b9a7e -r 32dc2c76bb7b sys/external/bsd/drm2/include/linux/fence.h
--- a/sys/external/bsd/drm2/include/linux/fence.h       Mon Aug 27 06:50:03 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/fence.h       Mon Aug 27 06:50:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fence.h,v 1.2 2018/08/27 06:43:10 riastradh Exp $      */
+/*     $NetBSD: fence.h,v 1.3 2018/08/27 06:50:20 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -40,5 +40,10 @@
        const struct fence_ops  *ops;
 };
 
+#define        fence_put               linux_fence_put
+#define        fence_wait              linux_fence_wait
+
+long   fence_wait(struct fence *, bool);
+void   fence_put(struct fence *);
 
 #endif /* _LINUX_FENCE_H_ */



Home | Main Index | Thread Index | Old Index