'\" t .\" Title: drm_hdmi_vendor_infoframe_from_display_mode .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_HDMI_VENDOR_INFO" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drm_hdmi_vendor_infoframe_from_display_mode \- fill an HDMI infoframe with data from a DRM display mode .SH "SYNOPSIS" .HP \w'int\ drm_hdmi_vendor_infoframe_from_display_mode('u .BI "int drm_hdmi_vendor_infoframe_from_display_mode(struct\ hdmi_vendor_infoframe\ *\ " "frame" ", const\ struct\ drm_display_mode\ *\ " "mode" ");" .SH "ARGUMENTS" .PP \fIframe\fR .RS 4 HDMI vendor infoframe .RE .PP \fImode\fR .RS 4 DRM display mode .RE .SH "DESCRIPTION" .PP Note that there\*(Aqs is a need to send HDMI vendor infoframes only when using a 4k or stereoscopic 3D mode\&. So when giving any other mode as input this function will return \-EINVAL, error that can be safely ignored\&. .SH "RETURN" .PP 0 on success or a negative error code on failure\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br