This is the first part of patchset [1] containing only the fixes for the link BW and DSC slice computation. The remaining patches in [1] refactor the link BW and DSC slice computation simplifying these, to be sent as a follow-up to this patchset.
I moved patches 13-15 in [1] later in the patchset to be sent as part of the follow-up, as these patches are not a dependency for the fixes in this patchset. [1] https://lore.kernel.org/all/[email protected] Cc: Ankit Nautiyal <[email protected]> Cc: Luca Coelho <[email protected]> Cc: Jouni Högander <[email protected]> Cc: Vinod Govindapillai <[email protected]> Imre Deak (16): drm/dp: Parse all DSC slice count caps for eDP 1.5 drm/dp: Add drm_dp_dsc_sink_slice_count_mask() drm/i915/dp: Fix DSC sink's slice count capability check drm/i915/dp: Return a fixed point BPP value from intel_dp_output_bpp() drm/i915/dp: Use a mode's crtc_clock vs. clock during state computation drm/i915/dp: Factor out intel_dp_link_bw_overhead() drm/i915/dp: Fix BW check in is_bw_sufficient_for_dsc_config() drm/i915/dp: Use the effective data rate for DP BW calculation drm/i915/dp: Use the effective data rate for DP compressed BW calculation drm/i915/dp: Account with MST, SSC BW overhead for uncompressed DP-MST stream BW drm/i915/dp: Account with DSC BW overhead for compressed DP-SST stream BW drm/i915/dp: Account with pipe joiner max compressed BPP limit for DP-MST and eDP drm/i915/dp: Fail state computation for invalid min/max link BPP values drm/i915/dp: Fail state computation for invalid max throughput BPP value drm/i915/dp: Fail state computation for invalid max sink compressed BPP value drm/i915/dp: Fail state computation for invalid DSC source input BPP values drivers/gpu/drm/display/drm_dp_helper.c | 103 ++++++--- drivers/gpu/drm/i915/display/intel_dp.c | 211 ++++++++++++------ drivers/gpu/drm/i915/display/intel_dp.h | 9 +- .../drm/i915/display/intel_dp_link_training.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 33 ++- include/drm/display/drm_dp_helper.h | 3 + 6 files changed, 234 insertions(+), 129 deletions(-) -- 2.49.1
