This patch series is part of a previous series: https://patchwork.freedesktop.org/series/109470/ This adds new member sink_format to store the final format that the sink will be using, which might be different than the output format, and thus might need color/format conversion performed by the PCON. Last patch just refactors some lines in mode_valid code for DP. Ankit Nautiyal (6): drm/i915/display: Add new member to configure PCON color conversion drm/i915/dp: Replace intel_dp.dfp members with the new crtc_state sink_format drm/i915/dp: Configure PCON for conversion of output_format to YCbCr444 drm/i915/display: Use sink_format instead of ycbcr420_output flag drm/i915/dp: Add helper to get sink_format drm/i915/dp: Rearrange check for illegal mode and comments in mode_valid drivers/gpu/drm/i915/display/icl_dsi.c | 1 + drivers/gpu/drm/i915/display/intel_crt.c | 1 + .../drm/i915/display/intel_crtc_state_dump.c | 5 +- drivers/gpu/drm/i915/display/intel_display.c | 5 + .../drm/i915/display/intel_display_types.h | 12 +- drivers/gpu/drm/i915/display/intel_dp.c | 263 ++++++++++++------ drivers/gpu/drm/i915/display/intel_dp_mst.c | 1 + drivers/gpu/drm/i915/display/intel_dvo.c | 1 + drivers/gpu/drm/i915/display/intel_hdmi.c | 71 +++-- drivers/gpu/drm/i915/display/intel_hdmi.h | 5 +- drivers/gpu/drm/i915/display/intel_lvds.c | 1 + drivers/gpu/drm/i915/display/intel_sdvo.c | 1 + drivers/gpu/drm/i915/display/intel_tv.c | 1 + drivers/gpu/drm/i915/display/vlv_dsi.c | 1 + 14 files changed, 250 insertions(+), 119 deletions(-) -- 2.25.1