Skip to content

Commit 8d75454

Browse files
danvetairlied
authored andcommitted
drm: Split out drm_probe_helper.c from drm_crtc_helper.c
This is leftover stuff from my previous doc round which I kinda wanted to do but didn't yet due to rebase hell. The modeset helpers and the probing helpers a independent and e.g. i915 uses the probing stuff but has its own modeset infrastructure. It hence makes to split this up. While at it add a DOC: comment for the probing libraray. It would be rather neat to pull some of the DocBook documenting these two helpers into in-line DOC: comments. But unfortunately kerneldoc doesn't support markdown or something similar to make nice-looking documentation, so the current state is better. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent b6ccd7b commit 8d75454

5 files changed

Lines changed: 437 additions & 372 deletions

File tree

‎Documentation/DocBook/drm.tmpl‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2285,6 +2285,11 @@ void intel_crt_init(struct drm_device *dev)
22852285
<sect2>
22862286
<title>Modeset Helper Functions Reference</title>
22872287
!Edrivers/gpu/drm/drm_crtc_helper.c
2288+
</sect2>
2289+
<sect2>
2290+
<title>Output Probing Helper Functions Reference</title>
2291+
!Pdrivers/gpu/drm/drm_probe_helper.c output probing helper overview
2292+
!Edrivers/gpu/drm/drm_probe_helper.c
22882293
</sect2>
22892294
<sect2>
22902295
<title>fbdev Helper Functions Reference</title>

‎drivers/gpu/drm/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ drm-$(CONFIG_DRM_PANEL) += drm_panel.o
2323

2424
drm-usb-y := drm_usb.o
2525

26-
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o
26+
drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o
2727
drm_kms_helper-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o
2828
drm_kms_helper-$(CONFIG_DRM_KMS_FB_HELPER) += drm_fb_helper.o
2929
drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o

0 commit comments

Comments
 (0)