Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 11:24:08 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915/gt: intel_gtt.h

Log Message:
Update to new PTE macro names.

Author: Maya Rashish <m...@netbsd.org>
Committer: Taylor R Campbell <riastr...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
    src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.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/drm/i915/gt/intel_gtt.h
diff -u src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h:1.9 src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h:1.10
--- src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h:1.9	Sun Dec 19 11:15:49 2021
+++ src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h	Sun Dec 19 11:24:08 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: intel_gtt.h,v 1.9 2021/12/19 11:15:49 riastradh Exp $	*/
+/*	$NetBSD: intel_gtt.h,v 1.10 2021/12/19 11:24:08 riastradh Exp $	*/
 
 /* SPDX-License-Identifier: MIT */
 /*
@@ -37,11 +37,11 @@
 #include <drm/bus_dma_hacks.h>
 #include <x86/machdep.h>
 #include <x86/pte.h>
-#define	_PAGE_PRESENT	PG_V	/* 0x01 PTE is present / valid */
-#define	_PAGE_RW	PG_RW	/* 0x02 read/write */
-#define	_PAGE_PWT	PG_WT	/* 0x08 write-through */
-#define	_PAGE_PCD	PG_N	/* 0x10 page cache disabled / non-cacheable */
-#define	_PAGE_PAT	PG_PAT	/* 0x80 page attribute table on PTE */
+#define	_PAGE_PRESENT	PTE_P	/* 0x01 PTE is present / valid */
+#define	_PAGE_RW	PTE_W	/* 0x02 read/write */
+#define	_PAGE_PWT	PTE_PWT	/* 0x08 write-through */
+#define	_PAGE_PCD	PTE_PCD	/* 0x10 page cache disabled / non-cacheable */
+#define	_PAGE_PAT	PTE_PAT	/* 0x80 page attribute table on PTE */
 #endif
 
 #define I915_GFP_ALLOW_FAIL (GFP_KERNEL | __GFP_RETRY_MAYFAIL | __GFP_NOWARN)

Reply via email to