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 <linux/sync_file.h> stubs.



details:   https://anonhg.NetBSD.org/src/rev/e64e40e70aa1
branches:  trunk
changeset: 1027830:e64e40e70aa1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:54:36 2021 +0000

description:
<linux/sync_file.h> stubs.

diffstat:

 sys/external/bsd/drm2/include/linux/sync_file.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8ee9cb366238 -r e64e40e70aa1 sys/external/bsd/drm2/include/linux/sync_file.h
--- a/sys/external/bsd/drm2/include/linux/sync_file.h   Sun Dec 19 00:54:15 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/sync_file.h   Sun Dec 19 00:54:36 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sync_file.h,v 1.1 2021/12/19 00:28:55 riastradh Exp $  */
+/*     $NetBSD: sync_file.h,v 1.2 2021/12/19 00:54:36 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,4 +32,12 @@
 #ifndef        _LINUX_SYNC_FILE_H_
 #define        _LINUX_SYNC_FILE_H_
 
+struct dma_fence;
+struct sync_file;
+
+struct sync_file *
+       sync_file_create(struct dma_fence *);
+struct dma_fence *
+       sync_file_get_fence(int);
+
 #endif /* _LINUX_SYNC_FILE_H_ */



Home | Main Index | Thread Index | Old Index