Module Name: src
Committed By: riastradh
Date: Sun Dec 19 10:29:01 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_device.h
src/sys/external/bsd/drm2/include/drm: drmP.h
Log Message:
Give some more declarations a new home.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/sys/external/bsd/drm2/dist/include/drm/drm_device.h
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/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/drm_device.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.5 src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.6
--- src/sys/external/bsd/drm2/dist/include/drm/drm_device.h:1.5 Sun Dec 19 09:52:50 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_device.h Sun Dec 19 10:29:01 2021
@@ -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 @@ struct drm_device {
#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
Index: src/sys/external/bsd/drm2/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/include/drm/drmP.h:1.2 src/sys/external/bsd/drm2/include/drm/drmP.h:1.3
--- src/sys/external/bsd/drm2/include/drm/drmP.h:1.2 Sun Dec 19 10:28:52 2021
+++ src/sys/external/bsd/drm2/include/drm/drmP.h Sun Dec 19 10:29:01 2021
@@ -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 @@ extern struct drm_dma_handle *drm_pci_al
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 */