Lines Matching refs:infoframe
304 * @slot: infoframe to reset
326 DRM_ERROR("unsupported infoframe slot: %#x\n", slot);
342 * Helper to concatenate infoframe in 32 bits word
362 * @data: infoframe to write
393 DRM_ERROR("unsupported infoframe type: %#x\n", *ptr);
397 /* Disable transmission slot for updated infoframe */
422 /* Enable transmission slot for updated infoframe */
429 * Prepare and configure the AVI infoframe
431 * AVI infoframe are transmitted at least once per two video field and
442 struct hdmi_avi_infoframe infoframe;
448 ret = drm_hdmi_avi_infoframe_from_display_mode(&infoframe,
451 DRM_ERROR("failed to setup AVI infoframe: %d\n", ret);
455 /* fixed infoframe configuration not linked to the mode */
456 infoframe.colorspace = hdmi->colorspace;
457 infoframe.quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT;
458 infoframe.colorimetry = HDMI_COLORIMETRY_NONE;
460 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer));
462 DRM_ERROR("failed to pack AVI infoframe: %d\n", ret);
472 * Prepare and configure the AUDIO infoframe
474 * AUDIO infoframe are transmitted once per frame and
495 DRM_ERROR("failed to pack audio infoframe: %d\n", ret);
511 * Prepare and configure the VS infoframe
513 * Vendor Specific infoframe are transmitted once per frame and
524 struct hdmi_vendor_infoframe infoframe;
530 ret = drm_hdmi_vendor_infoframe_from_display_mode(&infoframe,
535 * Going into that statement does not means vendor infoframe
536 * fails. It just informed us that vendor infoframe is not
538 * mode requires vendor infoframe. So just simply return 0.
543 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeof(buffer));
545 DRM_ERROR("failed to pack VS infoframe: %d\n", ret);
916 /* Program AVI infoframe */
918 DRM_ERROR("Unable to configure AVI infoframe\n");
927 /* Program VS infoframe */
929 DRM_ERROR("Unable to configure VS infoframe\n");
1324 /* Initialize audio infoframe */
1327 DRM_ERROR("Failed to init audio infoframe\n");