aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc_helper.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-12-17 10:41:43 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-17 16:04:53 -0500
commit7552e7dd9527c41f891c87854418896eaf309c20 (patch)
tree4cd514eb6594cf0ddab1b014bda80ef7bfa18cb9 /include/drm/drm_crtc_helper.h
parent6d11a2f00724d52b988b5fedc6e6a050e1a46389 (diff)
drm: Include drm_crtc_helper.h in DocBook
There is already a section that describes the helpers implemented by this module. Add the kerneldoc-generated structure descriptions to this section. While at it, add missing kerneldoc for the structures to avoid warnings when generating the documentation. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_crtc_helper.h')
-rw-r--r--include/drm/drm_crtc_helper.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h
index 8608897ace10..e76828d81a8b 100644
--- a/include/drm/drm_crtc_helper.h
+++ b/include/drm/drm_crtc_helper.h
@@ -47,9 +47,20 @@ enum mode_set_atomic {
47}; 47};
48 48
49/** 49/**
50 * drm_crtc_helper_funcs - helper operations for CRTCs 50 * struct drm_crtc_helper_funcs - helper operations for CRTCs
51 * @mode_fixup: try to fixup proposed mode for this connector 51 * @dpms: set power state
52 * @prepare: prepare the CRTC, called before @mode_set
53 * @commit: commit changes to CRTC, called after @mode_set
54 * @mode_fixup: try to fixup proposed mode for this CRTC
52 * @mode_set: set this mode 55 * @mode_set: set this mode
56 * @mode_set_nofb: set mode only (no scanout buffer attached)
57 * @mode_set_base: update the scanout buffer
58 * @mode_set_base_atomic: non-blocking mode set (used for kgdb support)
59 * @load_lut: load color palette
60 * @disable: disable CRTC when no longer in use
61 * @atomic_check: check for validity of an atomic state
62 * @atomic_begin: begin atomic update
63 * @atomic_flush: flush atomic update
53 * 64 *
54 * The helper operations are called by the mid-layer CRTC helper. 65 * The helper operations are called by the mid-layer CRTC helper.
55 */ 66 */
@@ -93,9 +104,17 @@ struct drm_crtc_helper_funcs {
93}; 104};
94 105
95/** 106/**
96 * drm_encoder_helper_funcs - helper operations for encoders 107 * struct drm_encoder_helper_funcs - helper operations for encoders
108 * @dpms: set power state
109 * @save: save connector state
110 * @restore: restore connector state
97 * @mode_fixup: try to fixup proposed mode for this connector 111 * @mode_fixup: try to fixup proposed mode for this connector
112 * @prepare: part of the disable sequence, called before the CRTC modeset
113 * @commit: called after the CRTC modeset
98 * @mode_set: set this mode 114 * @mode_set: set this mode
115 * @get_crtc: return CRTC that the encoder is currently attached to
116 * @detect: connection status detection
117 * @disable: disable encoder when not in use (overrides DPMS off)
99 * 118 *
100 * The helper operations are called by the mid-layer CRTC helper. 119 * The helper operations are called by the mid-layer CRTC helper.
101 */ 120 */
@@ -121,9 +140,10 @@ struct drm_encoder_helper_funcs {
121}; 140};
122 141
123/** 142/**
124 * drm_connector_helper_funcs - helper operations for connectors 143 * struct drm_connector_helper_funcs - helper operations for connectors
125 * @get_modes: get mode list for this connector 144 * @get_modes: get mode list for this connector
126 * @mode_valid (optional): is this mode valid on the given connector? 145 * @mode_valid: is this mode valid on the given connector? (optional)
146 * @best_encoder: return the preferred encoder for this connector
127 * 147 *
128 * The helper operations are called by the mid-layer CRTC helper. 148 * The helper operations are called by the mid-layer CRTC helper.
129 */ 149 */