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 delete defines now in...
details: https://anonhg.NetBSD.org/src/rev/5b171d7dbb2a
branches: trunk
changeset: 1028222:5b171d7dbb2a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:51:34 2021 +0000
description:
delete defines now in drm_pci.h and drm_internal.h
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/include/drm/drmP.h | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diffs (35 lines):
diff -r 9fa79ce3ea0c -r 5b171d7dbb2a sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 09:51:27 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h Sun Dec 19 09:51:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drmP.h,v 1.60 2021/12/19 09:51:27 riastradh Exp $ */
+/* $NetBSD: drmP.h,v 1.61 2021/12/19 09:51:34 riastradh Exp $ */
/*
* Internal Header for the Direct Rendering Manager
@@ -192,25 +192,6 @@
struct drm_device **);
extern int drm_pci_detach(struct drm_device *, int);
#endif
-#ifdef CONFIG_PCI
-extern int drm_get_pci_dev(struct pci_dev *pdev,
- const struct pci_device_id *ent,
- struct drm_driver *driver);
-extern int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
-#else
-static inline int drm_get_pci_dev(struct pci_dev *pdev,
- const struct pci_device_id *ent,
- struct drm_driver *driver)
-{
- return -ENOSYS;
-}
-
-static inline int drm_pci_set_busid(struct drm_device *dev,
- struct drm_master *master)
-{
- return -ENOSYS;
-}
-#endif
extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask);
Home |
Main Index |
Thread Index |
Old Index