Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:54:50 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/include/linux: dma-resv.h xarray.h
Log Message:
stub xarray.h and dma-resv.h
Add some upstream side-loads and empty structs.
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/drm2/include/linux/dma-resv.h \
src/sys/external/bsd/drm2/include/linux/xarray.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/include/linux/dma-resv.h
diff -u src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.1 src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.2
--- src/sys/external/bsd/drm2/include/linux/dma-resv.h:1.1 Sun Dec 19 01:53:29 2021
+++ src/sys/external/bsd/drm2/include/linux/dma-resv.h Sun Dec 19 01:54:50 2021
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2020 The NetBSD Foundation, Inc.
+ */
+
+#ifndef _LINUX_DMA_RESV_H_
+#define _LINUX_DMA_RESV_H_
+
+#include <linux/ww_mutex.h>
+#include <linux/dma-fence.h>
+
+struct dma_resv {};
+
+#endif /* _LINUX_DMA_RESV_H_ */
Index: src/sys/external/bsd/drm2/include/linux/xarray.h
diff -u src/sys/external/bsd/drm2/include/linux/xarray.h:1.1 src/sys/external/bsd/drm2/include/linux/xarray.h:1.2
--- src/sys/external/bsd/drm2/include/linux/xarray.h:1.1 Sun Dec 19 01:53:29 2021
+++ src/sys/external/bsd/drm2/include/linux/xarray.h Sun Dec 19 01:54:50 2021
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2020 The NetBSD Foundation, Inc.
+ */
+
+#ifndef _LINUX_XARRAY_H_
+#define _LINUX_XARRAY_H_
+
+struct xarray;
+
+#endif /* _LINUX_XARRAY_H_ */