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/include/asm map_page_into_agp, unmap_p...



details:   https://anonhg.NetBSD.org/src/rev/8cef806ead06
branches:  trunk
changeset: 1028101:8cef806ead06
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:51:11 2021 +0000

description:
map_page_into_agp, unmap_page_from_agp stubs.

diffstat:

 sys/external/bsd/drm2/include/asm/agp.h |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r e674aec4261a -r 8cef806ead06 sys/external/bsd/drm2/include/asm/agp.h
--- a/sys/external/bsd/drm2/include/asm/agp.h   Sun Dec 19 01:51:02 2021 +0000
+++ b/sys/external/bsd/drm2/include/asm/agp.h   Sun Dec 19 01:51:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp.h,v 1.2 2014/03/18 18:20:42 riastradh Exp $        */
+/*     $NetBSD: agp.h,v 1.3 2021/12/19 01:51:11 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,18 @@
 #ifndef _ASM_AGP_H_
 #define _ASM_AGP_H_
 
+struct page;
+
+static inline void
+map_page_into_agp(struct page *p)
+{
+       /* XXX Linux does set_pages_uc here.  */
+}
+
+static inline void
+unmap_page_from_agp(struct page *p)
+{
+       /* XXX Linux does set_pages_wb here.  */
+}
+
 #endif  /* _ASM_AGP_H_ */



Home | Main Index | Thread Index | Old Index