Module Name: src
Committed By: jmcneill
Date: Sun Jan 19 16:12:00 UTC 2020
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_cache.h
Log Message:
Pull in drm_os_netbsd.h for CONFIG_<arch> defines
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/drm2/dist/include/drm/drm_cache.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/dist/include/drm/drm_cache.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_cache.h:1.3 src/sys/external/bsd/drm2/dist/include/drm/drm_cache.h:1.4
--- src/sys/external/bsd/drm2/dist/include/drm/drm_cache.h:1.3 Sun Jan 19 12:03:27 2020
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_cache.h Sun Jan 19 16:12:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_cache.h,v 1.3 2020/01/19 12:03:27 jmcneill Exp $ */
+/* $NetBSD: drm_cache.h,v 1.4 2020/01/19 16:12:00 jmcneill Exp $ */
/**************************************************************************
*
@@ -35,6 +35,10 @@
#ifndef _DRM_CACHE_H_
#define _DRM_CACHE_H_
+#ifdef __NetBSD__
+#include <drm/drm_os_netbsd.h>
+#endif
+
void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
static inline bool drm_arch_can_wc_memory(void)