summaryrefslogtreecommitdiff
path: root/Documentation/gpu/drm-internals.rst
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-12-22 11:28:22 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2022-01-19 20:39:43 +0300
commit52506b099e1baa204b56b170f40f680ffcabb4c1 (patch)
tree64caedbf4bd25a3e46fb4b259e63aa3c63aef1fc /Documentation/gpu/drm-internals.rst
parentba3a5ddcf1e5df31f2291006d5297ca62035584f (diff)
downloadlinux-52506b099e1baa204b56b170f40f680ffcabb4c1.tar.xz
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
Diffstat (limited to 'Documentation/gpu/drm-internals.rst')
-rw-r--r--Documentation/gpu/drm-internals.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/gpu/drm-internals.rst b/Documentation/gpu/drm-internals.rst
index 607f78f0f189..38afed24a75c 100644
--- a/Documentation/gpu/drm-internals.rst
+++ b/Documentation/gpu/drm-internals.rst
@@ -75,6 +75,12 @@ update it, its value is mostly useless. The DRM core prints it to the
kernel log at initialization time and passes it to userspace through the
DRM_IOCTL_VERSION ioctl.
+Module Initialization
+---------------------
+
+.. kernel-doc:: include/drm/drm_module.h
+ :doc: overview
+
Managing Ownership of the Framebuffer Aperture
----------------------------------------------