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/drm Give some more declaration...



details:   https://anonhg.NetBSD.org/src/rev/2e850f2b9470
branches:  trunk
changeset: 1028298:2e850f2b9470
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:29:01 2021 +0000

description:
Give some more declarations a new home.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drm_device.h |  4 +++-
 sys/external/bsd/drm2/include/drm/drmP.h            |  7 +------
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r 1c7db3e6f637 -r 2e850f2b9470 sys/external/bsd/drm2/dist/include/drm/drm_device.h
--- a/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 10:28:52 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drm_device.h       Sun Dec 19 10:29:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_device.h,v 1.5 2021/12/19 09:52:50 riastradh Exp $ */
+/*     $NetBSD: drm_device.h,v 1.6 2021/12/19 10:29:01 riastradh Exp $ */
 
 #ifndef _DRM_DEVICE_H_
 #define _DRM_DEVICE_H_
@@ -388,6 +388,8 @@
 
 #ifdef __NetBSD__
 extern const struct cdevsw drm_cdevsw;
+int drm_limit_dma_space(struct drm_device *, resource_size_t, resource_size_t);
+int drm_guarantee_initialized(void);
 #endif
 
 #endif
diff -r 1c7db3e6f637 -r 2e850f2b9470 sys/external/bsd/drm2/include/drm/drmP.h
--- a/sys/external/bsd/drm2/include/drm/drmP.h  Sun Dec 19 10:28:52 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drmP.h  Sun Dec 19 10:29:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.2 2021/12/19 10:28:52 riastradh Exp $       */
+/*     $NetBSD: drmP.h,v 1.3 2021/12/19 10:29:01 riastradh Exp $       */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -142,11 +142,6 @@
                                            size_t align);
 extern void drm_pci_free(struct drm_device *dev, struct drm_dma_handle * dmah);
 
-#ifdef __NetBSD__
-int drm_limit_dma_space(struct drm_device *, resource_size_t, resource_size_t);
-int drm_guarantee_initialized(void);
-#endif
-
 /*@}*/
 
 /* platform section */



Home | Main Index | Thread Index | Old Index