Scroll to navigation

DRM_HDMI_VENDOR_INFO(9) DRM Core DRM_HDMI_VENDOR_INFO(9)

NAME

drm_hdmi_vendor_infoframe_from_display_mode - fill an HDMI infoframe with data from a DRM display mode

SYNOPSIS

int drm_hdmi_vendor_infoframe_from_display_mode(struct hdmi_vendor_infoframe * frame, const struct drm_display_mode * mode);

ARGUMENTS

frame
HDMI vendor infoframe
mode
DRM display mode

DESCRIPTION

Note that there's 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.

RETURN

0 on success or a negative error code on failure.

AUTHORS

Jesse Barnes <jesse.barnes@intel.com>
 
Intel Corporation,
Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 
Ideas on board SPRL,
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
 
Intel Corporation,
Contributions all over the place

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16