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/i915/gt Update to new PTE mac...



details:   https://anonhg.NetBSD.org/src/rev/a5a3e83f1eb5
branches:  trunk
changeset: 1028592:a5a3e83f1eb5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:24:08 2021 +0000

description:
Update to new PTE macro names.


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 8ab1f2016bf9 -r a5a3e83f1eb5 sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h
--- a/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h        Sun Dec 19 11:24:00 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gt/intel_gtt.h        Sun Dec 19 11:24:08 2021 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index