Searched refs:hdr_metadata (Results 1 – 4 of 4) sorted by relevance
29 struct hdr_output_metadata *hdr_metadata; in drm_hdmi_infoframe_set_hdr_metadata() local40 hdr_metadata = conn_state->hdr_output_metadata->data; in drm_hdmi_infoframe_set_hdr_metadata()42 if (!hdr_metadata || !connector) in drm_hdmi_infoframe_set_hdr_metadata()46 if (!is_eotf_supported(hdr_metadata->hdmi_metadata_type1.eotf, in drm_hdmi_infoframe_set_hdr_metadata()48 DRM_DEBUG_KMS("Unknown EOTF %d\n", hdr_metadata->hdmi_metadata_type1.eotf); in drm_hdmi_infoframe_set_hdr_metadata()54 frame->eotf = hdr_metadata->hdmi_metadata_type1.eotf; in drm_hdmi_infoframe_set_hdr_metadata()55 frame->metadata_type = hdr_metadata->hdmi_metadata_type1.metadata_type; in drm_hdmi_infoframe_set_hdr_metadata()58 sizeof(hdr_metadata->hdmi_metadata_type1.display_primaries)); in drm_hdmi_infoframe_set_hdr_metadata()60 sizeof(hdr_metadata->hdmi_metadata_type1.white_point)); in drm_hdmi_infoframe_set_hdr_metadata()63 &hdr_metadata->hdmi_metadata_type1.display_primaries, in drm_hdmi_infoframe_set_hdr_metadata()[all …]
229 struct hdr_output_metadata *hdr_metadata; in intel_dp_in_hdr_mode() local234 hdr_metadata = conn_state->hdr_output_metadata->data; in intel_dp_in_hdr_mode()236 return hdr_metadata->hdmi_metadata_type1.eotf == HDMI_EOTF_SMPTE_ST2084; in intel_dp_in_hdr_mode()257 struct hdr_output_metadata *hdr_metadata) in intel_dp_aux_write_content_luminance() argument267 buf[0] = hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF; in intel_dp_aux_write_content_luminance()268 buf[1] = (hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF00) >> 8; in intel_dp_aux_write_content_luminance()269 buf[2] = hdr_metadata->hdmi_metadata_type1.max_fall & 0xFF; in intel_dp_aux_write_content_luminance()270 buf[3] = (hdr_metadata->hdmi_metadata_type1.max_fall & 0xFF00) >> 8; in intel_dp_aux_write_content_luminance()321 struct hdr_output_metadata *hdr_metadata; in intel_dp_aux_hdr_enable_backlight() local358 hdr_metadata = conn_state->hdr_output_metadata->data; in intel_dp_aux_hdr_enable_backlight()[all …]
126 struct dwb_efc_hdr_metadata hdr_metadata; member
5376 struct hdr_static_metadata *hdr_metadata = &connector->hdr_sink_metadata.hdmi_type1; in drm_calculate_luminance_range() local5385 if (!(hdr_metadata->metadata_type & BIT(HDMI_STATIC_METADATA_TYPE1))) in drm_calculate_luminance_range()5388 max_avg = hdr_metadata->max_fall; in drm_calculate_luminance_range()5389 min_cll = hdr_metadata->min_cll; in drm_calculate_luminance_range()