Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 01:34:39 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drmP.h

Log Message:
drm_io_mapping_init_wc


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/external/bsd/drm2/dist/include/drm/drmP.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/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.44 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.45
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.44	Sun Dec 19 00:27:25 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Sun Dec 19 01:34:39 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: drmP.h,v 1.44 2021/12/19 00:27:25 riastradh Exp $	*/
+/*	$NetBSD: drmP.h,v 1.45 2021/12/19 01:34:39 riastradh Exp $	*/
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -1298,6 +1298,13 @@ drm_io_mapping_create_wc(struct drm_devi
 	return bus_space_io_mapping_create_wc(dev->bst, addr, size);
 }
 
+static inline bool
+drm_io_mapping_init_wc(struct drm_device *dev, struct io_mapping *mapping,
+    resource_size_t addr, unsigned long size)
+{
+	return bus_space_io_mapping_init_wc(dev->bst, mapping, addr, size);
+}
+
 #endif	/* defined(__NetBSD__) */
 
 #ifdef __NetBSD__

Reply via email to