diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-22 12:26:16 -0500 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-13 07:48:32 -0400 |
| commit | 2d123f463669cb7b84b56aa00e073ce07fe7aff2 (patch) | |
| tree | e95000aa8062c0424bf854c2e8ccb5253b5ad520 | |
| parent | 4c6e2dfe08987b1e5d884939967037d68412d829 (diff) | |
drm/docs: Include hdmi infoframe helper reference
Thierry created such nice kerneldocs, it's a shame we've left them
lingering!
For the fun of it also add a bit of kerneldoc to the header so that we
can also include that. Just in case someone adds kerneldoc in there.
Cc: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
| -rw-r--r-- | Documentation/DocBook/drm.tmpl | 11 | ||||
| -rw-r--r-- | include/linux/hdmi.h | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 0a9407ae4025..0e0390ece122 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
| @@ -2219,6 +2219,17 @@ void intel_crt_init(struct drm_device *dev) | |||
| 2219 | !Iinclude/drm/drm_flip_work.h | 2219 | !Iinclude/drm/drm_flip_work.h |
| 2220 | !Edrivers/gpu/drm/drm_flip_work.c | 2220 | !Edrivers/gpu/drm/drm_flip_work.c |
| 2221 | </sect2> | 2221 | </sect2> |
| 2222 | <sect2> | ||
| 2223 | <title>HDMI Infoframes Helper Reference</title> | ||
| 2224 | <para> | ||
| 2225 | Strictly speaking this is not a DRM helper library but generally useable | ||
| 2226 | by any driver interfacing with HDMI outputs like v4l or alsa drivers. | ||
| 2227 | But it nicely fits into the overall topic of mode setting helper | ||
| 2228 | libraries and hence is also included here. | ||
| 2229 | </para> | ||
| 2230 | !Iinclude/linux/hdmi.h | ||
| 2231 | !Edrivers/video/hdmi.c | ||
| 2232 | </sect2> | ||
| 2222 | </sect1> | 2233 | </sect1> |
| 2223 | 2234 | ||
| 2224 | <!-- Internals: kms properties --> | 2235 | <!-- Internals: kms properties --> |
diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h index 9231be9e90a2..11c0182a153b 100644 --- a/include/linux/hdmi.h +++ b/include/linux/hdmi.h | |||
| @@ -262,6 +262,18 @@ union hdmi_vendor_any_infoframe { | |||
| 262 | struct hdmi_vendor_infoframe hdmi; | 262 | struct hdmi_vendor_infoframe hdmi; |
| 263 | }; | 263 | }; |
| 264 | 264 | ||
| 265 | /** | ||
| 266 | * union hdmi_infoframe - overall union of all abstract infoframe representations | ||
| 267 | * @any: generic infoframe | ||
| 268 | * @avi: avi infoframe | ||
| 269 | * @spd: spd infoframe | ||
| 270 | * @vendor: union of all vendor infoframes | ||
| 271 | * @audio: audio infoframe | ||
| 272 | * | ||
| 273 | * This is used by the generic pack function. This works since all infoframes | ||
| 274 | * have the same header which also indicates which type of infoframe should be | ||
| 275 | * packed. | ||
| 276 | */ | ||
| 265 | union hdmi_infoframe { | 277 | union hdmi_infoframe { |
| 266 | struct hdmi_any_infoframe any; | 278 | struct hdmi_any_infoframe any; |
| 267 | struct hdmi_avi_infoframe avi; | 279 | struct hdmi_avi_infoframe avi; |
