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 Remove more things de...



details:   https://anonhg.NetBSD.org/src/rev/7205b1c35729
branches:  trunk
changeset: 1028150:7205b1c35729
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:59:11 2021 +0000

description:
Remove more things defined in headers off drmP.h

(either drm_internal.h, drm_drv.h, drm_debugfs.h)


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  39 +--------------------------
 1 files changed, 1 insertions(+), 38 deletions(-)

diffs (60 lines):

diff -r 68174de4f452 -r 7205b1c35729 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:59:03 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:59:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.58 2021/12/19 01:59:03 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.59 2021/12/19 01:59:11 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -165,28 +165,6 @@
 extern unsigned int drm_debug;
 extern bool drm_atomic;
 
-                               /* Debugfs support */
-#if defined(CONFIG_DEBUG_FS)
-extern int drm_debugfs_create_files(const struct drm_info_list *files,
-                                   int count, struct dentry *root,
-                                   struct drm_minor *minor);
-extern int drm_debugfs_remove_files(const struct drm_info_list *files,
-                                   int count, struct drm_minor *minor);
-#else
-static inline int drm_debugfs_create_files(const struct drm_info_list *files,
-                                          int count, struct dentry *root,
-                                          struct drm_minor *minor)
-{
-       return 0;
-}
-
-static inline int drm_debugfs_remove_files(const struct drm_info_list *files,
-                                          int count, struct drm_minor *minor)
-{
-       return 0;
-}
-#endif
-
 int drm_pci_set_unique(struct drm_device *dev,
                       struct drm_master *master,
                       struct drm_unique *u);
@@ -194,21 +172,6 @@
                                            size_t align);
 extern void drm_pci_free(struct drm_device *dev, struct drm_dma_handle * dmah);
 
-                              /* sysfs support (drm_sysfs.c) */
-extern void drm_sysfs_hotplug_event(struct drm_device *dev);
-
-
-struct drm_device *drm_dev_alloc(struct drm_driver *driver,
-                                struct device *parent);
-void drm_dev_ref(struct drm_device *dev);
-void drm_dev_unref(struct drm_device *dev);
-int drm_dev_register(struct drm_device *dev, unsigned long flags);
-void drm_dev_unregister(struct drm_device *dev);
-int drm_dev_set_unique(struct drm_device *dev, const char *fmt, ...);
-
-struct drm_minor *drm_minor_acquire(unsigned int minor_id);
-void drm_minor_release(struct drm_minor *minor);
-
 #ifdef __NetBSD__
 int drm_limit_dma_space(struct drm_device *, resource_size_t, resource_size_t);
 int drm_guarantee_initialized(void);



Home | Main Index | Thread Index | Old Index