drm_hdmi_vendor_infoframe_from_display_mode — fill an HDMI infoframe with data from a DRM display mode
int drm_hdmi_vendor_infoframe_from_display_mode (
)
frame
HDMI vendor infoframe
mode
DRM display mode
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.
0 on success or a negative error code on failure.