summaryrefslogtreecommitdiffstats
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-12-22 09:28:22 +0100
committerJavier Martinez Canillas <javierm@redhat.com>2022-01-19 18:39:43 +0100
commit52506b099e1baa204b56b170f40f680ffcabb4c1 (patch)
tree64caedbf4bd25a3e46fb4b259e63aa3c63aef1fc /Documentation/gpu
parentdrm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_enc... (diff)
downloadlinux-52506b099e1baa204b56b170f40f680ffcabb4c1.tar.xz
linux-52506b099e1baa204b56b170f40f680ffcabb4c1.zip
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')
-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
----------------------------------------------