Lines Matching full:infoframe
303 * @slot: infoframe to reset
325 DRM_ERROR("unsupported infoframe slot: %#x\n", slot); in hdmi_infoframe_reset()
341 * Helper to concatenate infoframe in 32 bits word
361 * @data: infoframe to write
392 DRM_ERROR("unsupported infoframe type: %#x\n", *ptr); in hdmi_infoframe_write_infopack()
396 /* Disable transmission slot for updated infoframe */ in hdmi_infoframe_write_infopack()
421 /* Enable transmission slot for updated infoframe */ in hdmi_infoframe_write_infopack()
428 * Prepare and configure the AVI infoframe
430 * AVI infoframe are transmitted at least once per two video field and
441 struct hdmi_avi_infoframe infoframe; in hdmi_avi_infoframe_config() local
447 ret = drm_hdmi_avi_infoframe_from_display_mode(&infoframe, in hdmi_avi_infoframe_config()
450 DRM_ERROR("failed to setup AVI infoframe: %d\n", ret); in hdmi_avi_infoframe_config()
454 /* fixed infoframe configuration not linked to the mode */ in hdmi_avi_infoframe_config()
455 infoframe.colorspace = hdmi->colorspace; in hdmi_avi_infoframe_config()
456 infoframe.quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT; in hdmi_avi_infoframe_config()
457 infoframe.colorimetry = HDMI_COLORIMETRY_NONE; in hdmi_avi_infoframe_config()
459 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_avi_infoframe_config()
461 DRM_ERROR("failed to pack AVI infoframe: %d\n", ret); in hdmi_avi_infoframe_config()
471 * Prepare and configure the AUDIO infoframe
473 * AUDIO infoframe are transmitted once per frame and
494 DRM_ERROR("failed to pack audio infoframe: %d\n", ret); in hdmi_audio_infoframe_config()
510 * Prepare and configure the VS infoframe
512 * Vendor Specific infoframe are transmitted once per frame and
523 struct hdmi_vendor_infoframe infoframe; in hdmi_vendor_infoframe_config() local
529 ret = drm_hdmi_vendor_infoframe_from_display_mode(&infoframe, in hdmi_vendor_infoframe_config()
534 * Going into that statement does not means vendor infoframe in hdmi_vendor_infoframe_config()
535 * fails. It just informed us that vendor infoframe is not in hdmi_vendor_infoframe_config()
537 * mode requires vendor infoframe. So just simply return 0. in hdmi_vendor_infoframe_config()
542 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_vendor_infoframe_config()
544 DRM_ERROR("failed to pack VS infoframe: %d\n", ret); in hdmi_vendor_infoframe_config()
699 seq_printf(s, "\n AVI Infoframe (Data Island slot N=%d):", in hdmi_dbg_show()
709 seq_printf(s, "\n\n AUDIO Infoframe (Data Island slot N=%d):", in hdmi_dbg_show()
719 seq_printf(s, "\n\n VENDOR SPECIFIC Infoframe (Data Island slot N=%d):", in hdmi_dbg_show()
915 /* Program AVI infoframe */ in sti_hdmi_pre_enable()
917 DRM_ERROR("Unable to configure AVI infoframe\n"); in sti_hdmi_pre_enable()
926 /* Program VS infoframe */ in sti_hdmi_pre_enable()
928 DRM_ERROR("Unable to configure VS infoframe\n"); in sti_hdmi_pre_enable()
1322 /* Initialize audio infoframe */ in sti_hdmi_bind()
1325 DRM_ERROR("Failed to init audio infoframe\n"); in sti_hdmi_bind()