When a eDP/DP sink does not advertise DP_VSC_SDP_EXT_FOR_COLORIMETRY_SUPPORTED,
intel_ddi_set_dp_msa() still sets DP_MSA_MISC_COLOR_VSC_SDP, telling the
sink to defer colorimetry to a VSC SDP that will never be sent. A second bug
allows the has_psr bypass in intel_dp_compute_vsc_sdp() to send a colorimetry
payload to incapable sinks when PSR is active.

Both are fixed by folding the colorimetry_support check into
intel_dp_needs_vsc_colorimetry() so all call sites share a consistent gate.

Cc: Uma Shankar <[email protected]>
Cc: Jouni Högander <[email protected]>

Chaitanya Kumar Borah (2):
  drm/i915/dp: s/intel_dp_needs_vsc_sdp/intel_dp_needs_vsc_colorimetry
  drm/i915/dp: set VSC_SDP MSA delegation only for capable sinks

 drivers/gpu/drm/i915/display/intel_ddi.c |  4 +++-
 drivers/gpu/drm/i915/display/intel_dp.c  | 20 +++++++++++++-------
 drivers/gpu/drm/i915/display/intel_dp.h  |  4 ++--
 3 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.25.1

Reply via email to