Home
last modified time | relevance | path

Searched refs:hdr_metadata (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/display/
H A Ddrm_hdmi_helper.c29 struct hdr_output_metadata *hdr_metadata; in drm_hdmi_infoframe_set_hdr_metadata() local
40 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()
54 frame->eotf = hdr_metadata->hdmi_metadata_type1.eotf; 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()
67 &hdr_metadata->hdmi_metadata_type1.white_point, in drm_hdmi_infoframe_set_hdr_metadata()
74 frame->max_fall = hdr_metadata->hdmi_metadata_type1.max_fall; in drm_hdmi_infoframe_set_hdr_metadata()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux_backlight.c229 struct hdr_output_metadata *hdr_metadata; in intel_dp_in_hdr_mode() local
234 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() argument
267 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() local
358 hdr_metadata = conn_state->hdr_output_metadata->data; in intel_dp_aux_hdr_enable_backlight()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddwb.h126 struct dwb_efc_hdr_metadata hdr_metadata; member
/linux/drivers/gpu/drm/
H A Ddrm_edid.c5376 struct hdr_static_metadata *hdr_metadata = &connector->hdr_sink_metadata.hdmi_type1; in drm_calculate_luminance_range() local
5385 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()