This is v2 of [1], addressing Jouni's review comments and fixing the logic to derermine if DSC is enabled on a UHBR DP-MST link. The latter can't depend on whether FEC is enabled or not on the link, since FEC is always (i.e. regardless of DSC) enabled on a UHBR link; so this version adds an explicit way of tracking whether DSC is enabled for any CRTC on the link and uses this during a CRTC's state computation to decide if Panel Replay can be enabled or not for any CRTC on the link.
Cc: Jouni Högander <[email protected]> [1] https://lore.kernel.org/all/[email protected] Imre Deak (7): drm/i915/dsc: Add helper to enable the DSC configuration for a CRTC drm/i915/dp: Ensure the FEC state stays disabled for UHBR links drm/i915/dp: Export helper to determine if FEC on non-UHBR links is required drm/i915/dp_mst: Reuse the DP-SST helper function to compute FEC config drm/i915/dp_mst: Track DSC enabled status on the MST link drm/i915/dp_mst: Recompute all MST link CRTCs if DSC gets enabled on the link drm/i915/dp: Fix panel replay when DSC is enabled drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_display.c | 2 +- .../drm/i915/display/intel_display_types.h | 11 +++ drivers/gpu/drm/i915/display/intel_dp.c | 34 ++++--- drivers/gpu/drm/i915/display/intel_dp.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 31 ++++--- drivers/gpu/drm/i915/display/intel_link_bw.c | 17 ++-- drivers/gpu/drm/i915/display/intel_link_bw.h | 2 +- drivers/gpu/drm/i915/display/intel_psr.c | 93 ++++++++++++++++++- drivers/gpu/drm/i915/display/intel_vdsc.c | 16 ++++ drivers/gpu/drm/i915/display/intel_vdsc.h | 2 + 11 files changed, 171 insertions(+), 41 deletions(-) -- 2.49.1
