diff options
-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; |