OSDN Git Service

drm: Provide PCI module-init macros
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 22 Dec 2021 08:28:22 +0000 (09:28 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jan 2022 17:39:43 +0000 (18:39 +0100)
commit52506b099e1baa204b56b170f40f680ffcabb4c1
tree64caedbf4bd25a3e46fb4b259e63aa3c63aef1fc
parentba3a5ddcf1e5df31f2291006d5297ca62035584f
drm: Provide PCI module-init macros

Provide helper macros to register PCI-based DRM drivers. The new
macros behave like module_pci_driver() with an additional test if
DRM modesetting has been enabled.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211222082831.196562-2-javierm@redhat.com
Documentation/gpu/drm-internals.rst
include/drm/drm_module.h [new file with mode: 0644]