intel_dp_aux_write_content_luminance() skips the DPCD write when the encoder cannot send a gamut metadata SDP. That is backwards: the DPCD register is what the AUX HDR interface uses on those platforms.
Drop the check instead of inverting it. INTEL_EDP_HDR_TCON_SDP_OVERRIDE_AUX already tells the TCON whether to use the SDP or the DPCD value, so the write is harmless where the SDP takes precedence. Signed-off-by: Yitian Shao <[email protected]> --- drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c index 8c7fd99..6b33ba0 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c @@ -250,9 +250,6 @@ intel_dp_aux_write_content_luminance(struct intel_connector *connector, int ret; u8 buf[4]; - if (!intel_dp_has_gamut_metadata_dip(connector->encoder)) - return; - buf[0] = hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF; buf[1] = (hdr_metadata->hdmi_metadata_type1.max_cll & 0xFF00) >> 8; buf[2] = hdr_metadata->hdmi_metadata_type1.max_fall & 0xFF; -- 2.53.0
