Module Name: src
Committed By: riastradh
Date: Sun Dec 19 09:58:23 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm/ttm: ttm_set_memory.h
Log Message:
Avoid the set_pages_array_wc/wb paths in TTM for now
we did this before. maybe we'll eventually want to stop for
performance reasons?
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_set_memory.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/ttm/ttm_set_memory.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_set_memory.h:1.2 src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_set_memory.h:1.3
--- src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_set_memory.h:1.2 Sat Dec 18 23:45:46 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_set_memory.h Sun Dec 19 09:58:23 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_set_memory.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $ */
+/* $NetBSD: ttm_set_memory.h,v 1.3 2021/12/19 09:58:23 riastradh Exp $ */
/**************************************************************************
*
@@ -35,7 +35,7 @@
#include <linux/mm.h>
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) && defined(__linux__)
#include <asm/set_memory.h>