drm_module_pci_driver(9)
okay so bestie, welcome to the drm_module_pci_driver(9) page from the Kernel API Manual β¨ this one is short but she is important.
π NAME π
drm_module_pci_driver β register a DRM driver for PCI-based devices π«Ά
β¨ SYNOPSIS β¨
drm_module_pci_driver (__pci_drv );
π ARGUMENTS π
__pci_drvβ the PCI driver structure, aka the whole struct bestie π
πΈ DESCRIPTION πΈ
This registers a DRM driver for devices on the PCI bus. The helper macro behaves like module_pci_driver, but it tests the state of drm_firmware_drivers_only β that's the little check it does, no cap π
For more complex module initialization, use module_init and module_exit directly. Like, if you need extra steps, go direct, bestie.
Each module may only use this macro once. Calling it replacesmodule_initandmodule_exit. fr fr, once and done π¨
π¦ SEE ALSO π¦
- Kernel file
./include/drm/drm_module.hoverview(9) drm_module_pci_driver_if_modeset(9)drm_module_platform_driver(9)
mwah π this page lives under ./include/drm, version/date October 2026, and it's the drm_module_pci_driver(9) manual β ily, go register responsibly π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms