drm_module_pci_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 replaces module_init and module_exit. fr fr, once and done 🚨

πŸ¦‹ SEE ALSO πŸ¦‹


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