opnsense-src/sys/dev/pci
Dmitry Chagin e8404a72c5 vgapci: Don't create a drm helper
Simply speaking, being started the drm-kmod driver should create sysfs helpers,
which is «drm» class devices, with the unit number 0, 128 and, perhaps 64.
If a drm helper created by vgapci driver with the corresponding unit number
exists then the drm-kmod driver initialize it by the device_initialize() lkpi
method, otherwise drm-kmod driver create new «drm» device.
For hw, where two or more different GPU installed, it's not guaranteed that
the order of loading GPU drivers will be the same as the vgapci devices numbered.
I.e., on hw where vgapci0 is Nvidia GPU and vgapci1 is Intel GPU, when drm-kmod
loaded first it will use drm0 helper of vgapci0 device.
There is no problem for drm-kmod driver unless we do not traverse device
tree, as needed for https://reviews.freebsd.org/D38545.

drm-kmod is ok for this change as it has fallback to create corresponding
drm device.

Reviewed by:
Differential Revision:	https://reviews.freebsd.org/D38546
2023-07-06 20:26:24 +03:00
..
controller Remove redundant data from pci host generic 2023-04-24 12:33:50 +01:00
fixup_pci.c pci: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:55 -07:00
hostb_pci.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ignore_pci.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
isa_pci.c Remove isab_devclass from ISA bridge drivers. 2022-05-06 15:39:28 -07:00
pci.c dev/pci: simplify PCI VPD access functions 2023-06-21 19:36:39 +02:00
pci_dw.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pci_dw.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pci_dw_if.m Add driver for DesignWare PCIE core, and its Armada 8K specific attachement. 2019-10-20 11:11:32 +00:00
pci_dw_mv.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pci_host_generic.c Remove redundant data from pci host generic 2023-04-24 12:33:50 +01:00
pci_host_generic.h Remove redundant data from pci host generic 2023-04-24 12:33:50 +01:00
pci_host_generic_acpi.c Add PCI_ID_OFW_IOMMU to the pci ecam ACPI driver 2023-04-24 12:47:38 +01:00
pci_host_generic_acpi.h Add PCI Express driver for the ARM Neoverse N1 System Development 2020-02-11 15:12:09 +00:00
pci_host_generic_den0115.c Clean up PCI DEN0115 driver probing 2023-04-24 16:34:21 +01:00
pci_host_generic_fdt.c Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
pci_host_generic_fdt.h Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
pci_if.m Add OFW_IOMMU id type for pci_get_id() so we can ask parent IOMMU 2022-05-07 10:21:09 +01:00
pci_iov.c pci: Fix a -Wunused-but-set-variable warning 2022-02-28 10:54:42 -05:00
pci_iov.h Permit the name of the /dev/iov entry to be set by the driver. 2016-08-03 17:09:12 +00:00
pci_iov_if.m
pci_iov_private.h pci: Implement pci_bar_enabled() for SR-IOV VFs 2021-11-09 13:13:36 -05:00
pci_iov_schema.c
pci_pci.c pcib: Allocate the memory BAR with the MSI-X table. 2023-06-19 09:15:48 -07:00
pci_private.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pci_subr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pci_user.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pcib_if.m Create pcib_request_feature. 2017-02-25 06:11:36 +00:00
pcib_private.h pcib: Allocate the memory BAR with the MSI-X table. 2023-06-19 09:15:48 -07:00
pcib_support.c Add OFW_IOMMU id type for pci_get_id() so we can ask parent IOMMU 2022-05-07 10:21:09 +01:00
pcireg.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pcivar.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
schema_private.h
vga_pci.c vgapci: Don't create a drm helper 2023-07-06 20:26:24 +03:00