Name

drm_hdmi_avi_infoframe_from_display_mode — fill an HDMI AVI infoframe with data from a DRM display mode

Synopsis

int drm_hdmi_avi_infoframe_from_display_mode (struct hdmi_avi_infoframe * frame,
 const struct drm_display_mode * mode);
 

Arguments

frame

HDMI AVI infoframe

mode

DRM display mode

Return

0 on success or a negative error code on failure.