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/include/drm drm_io_mapping_init_wc
details: https://anonhg.NetBSD.org/src/rev/9374b86ba19f
branches: trunk
changeset: 1028002:9374b86ba19f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:34:39 2021 +0000
description:
drm_io_mapping_init_wc
diffstat:
sys/external/bsd/drm2/dist/include/drm/drmP.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 3857f7fd43e7 -r 9374b86ba19f sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 01:34:30 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 01:34:39 2021 +0000
@@ -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 @@
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__
Home |
Main Index |
Thread Index |
Old Index