summaryrefslogtreecommitdiff
path: root/sys/external
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2021-12-19 01:34:39 +0000
committerriastradh <riastradh@NetBSD.org>2021-12-19 01:34:39 +0000
commit8a54c91b95ac2fd67c46d6ea011b7c8c8d80d009 (patch)
treec2ca42b0185ec931448b833e71a14527f60ffce8 /sys/external
parent11f89f25d45d34bc030ba0306528dc8624f6b711 (diff)
drm_io_mapping_init_wc
Diffstat (limited to 'sys/external')
-rw-r--r--sys/external/bsd/drm2/dist/include/drm/drmP.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/external/bsd/drm2/dist/include/drm/drmP.h b/sys/external/bsd/drm2/dist/include/drm/drmP.h
index 03ab1dcaf33..3e241ae2b19 100644
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h
@@ -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_device *dev, resource_size_t addr,
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__