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/nouveau/include/nvif Add some...



details:   https://anonhg.NetBSD.org/src/rev/d09e6eb823a3
branches:  trunk
changeset: 992717:d09e6eb823a3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:35:13 2018 +0000

description:
Add some necessary includes to the hodgepodge.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/os.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 3f0ea8ed0aca -r d09e6eb823a3 sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/os.h
--- a/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/os.h  Mon Aug 27 07:35:03 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/os.h  Mon Aug 27 07:35:13 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: os.h,v 1.3 2018/08/27 07:32:50 riastradh Exp $ */
+/*     $NetBSD: os.h,v 1.4 2018/08/27 07:35:13 riastradh Exp $ */
 
 #ifndef __NOUVEAU_OS_H__
 #define __NOUVEAU_OS_H__
@@ -40,7 +40,13 @@
 #include <linux/errno.h>
 #include <linux/workqueue.h>
 #include <linux/device.h>
+#include <linux/ktime.h>
+#include <linux/err.h>
+#include <linux/bitmap.h>
+#include <linux/jiffies.h>
+#include <linux/io.h>
 
+#include <asm/barrier.h>
 #include <asm/byteorder.h>
 #include <asm/io.h>
 #include <asm/unaligned.h>
@@ -48,6 +54,10 @@
 #include <soc/tegra/fuse.h>
 #include <soc/tegra/pmc.h>
 
+#ifdef __NetBSD__
+#include <drm/drm_os_netbsd.h> /* drm_waitqueue_t, IRQ_HANDLED */
+#endif
+
 #ifndef __NetBSD__             /* XXX ioread */
 #ifndef ioread32_native
 #ifdef __BIG_ENDIAN



Home | Main Index | Thread Index | Old Index