drm/i915/dp: Clean up link BW/DSC slice config computation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest50 patches 78 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/50 | drm/dp: Parse all DSC slice count caps for eDP 1.5drivers/ | +18 | 2 replies | |
| 2/50 | drm/dp: Add drm_dp_dsc_sink_slice_count_mask()drivers/ include/ | +61 | 1 reply | |
| 3/50 | drm/i915/dp: Fix DSC sink's slice count capability checkdrivers/ | +13 | 3 replies | |
| 4/50 | drm/i915/dp: Return a fixed point BPP value from intel_dp_output_bpp()drivers/ drivers/ drivers/ | +26 | 1 reply | |
| 5/50 | drm/i915/dp: Use a mode's crtc_clock vs. clock during state computationdrivers/ | +3 | 1 reply | |
| 6/50 | drm/i915/dp: Factor out intel_dp_link_bw_overhead()drivers/ drivers/ drivers/ | +34 | 1 reply | |
| 7/50 | drm/i915/dp: Fix BW check in is_bw_sufficient_for_dsc_config()drivers/ | +1 | 1 reply | |
| 8/50 | drm/i915/dp: Use the effective data rate for DP BW calculationdrivers/ drivers/ drivers/ +1 more | +33 | 1 reply | |
| 9/50 | drm/i915/dp: Use the effective data rate for DP compressed BW calculationdrivers/ | +16 | 1 reply | |
| 9/50 | drm/i915/dp: Use the effective data rate for DP compressed BW calculationdrivers/ | +16 | 1 reply | |
| 10/50 | drm/i915/dp: Account with MST, SSC BW overhead for uncompressed DP-MST stream BWdrivers/ | +4 | 1 reply | |
| 11/50 | drm/i915/dp: Account with DSC BW overhead for compressed DP-SST stream BWdrivers/ | +5 | 1 reply | |
| 12/50 | drm/i915/dp: Account with pipe joiner max compressed BPP limit for DP-MST and eDPdrivers/ | +8 | 1 reply | |
| 13/50 | drm/i915/dp: Drop unused timeslots param from dsc_compute_link_config()drivers/ | +7 | 1 reply | |
| 14/50 | drm/i915/dp: Factor out align_max_sink_dsc_input_bpp()drivers/ | +18 | 5 replies | |
| 15/50 | drm/i915/dp: Factor out align_max_vesa_compressed_bpp_x16()drivers/ | +20 | 5 replies | |
| 16/50 | drm/i915/dp: Fail state computation for invalid min/max link BPP valuesdrivers/ | +6 | 2 replies | |
| 17/50 | drm/i915/dp: Fail state computation for invalid max throughput BPP valuedrivers/ | +0 | 2 replies | |
| 18/50 | drm/i915/dp: Fail state computation for invalid max sink compressed BPP valuedrivers/ | +1 | 2 replies | |
| 19/50 | drm/i915/dp: Fail state computation for invalid DSC source input BPP valuesdrivers/ | +21 | 1 reply | |
| 20/50 | drm/i915/dp: Align min/max DSC input BPPs to sink capsdrivers/ | +23 | 1 reply | |
| 21/50 | drm/i915/dp: Align min/max compressed BPPs when calculating BPP limitsdrivers/ | +57 | 2 replies | |
| 22/50 | drm/i915/dp: Drop intel_dp parameter from intel_dp_compute_config_link_bpp_limits()drivers/ | +4 | 1 reply | |
| 23/50 | drm/i915/dp: Pass intel_output_format to intel_dp_dsc_sink_{min_max}_compressed_bpp()drivers/ drivers/ | +12 | 1 reply | |
| 24/50 | drm/i915/dp: Pass mode clock to dsc_throughput_quirk_max_bpp_x16()drivers/ | +4 | 1 reply | |
| 25/50 | drm/i915/dp: Factor out compute_min_compressed_bpp_x16()drivers/ | +18 | 3 replies | |
| 26/50 | drm/i915/dp: Factor out compute_max_compressed_bpp_x16()drivers/ | +49 | 1 reply | |
| 27/50 | drm/i915/dp: Add intel_dp_mode_valid_with_dsc()drivers/ drivers/ drivers/ | +57 | 1 reply | |
| 28/50 | drm/i915/dp: Unify detect and compute time DSC mode BW validationdrivers/ drivers/ | +18 | 1 reply | |
| 29/50 | drm/i915/dp: Use helpers to align min/max compressed BPPsdrivers/ | +5 | 2 replies | |
| 30/50 | drm/i915/dp: Simplify computing DSC BPPs for eDPdrivers/ | +3 | 1 reply | |
| 31/50 | drm/i915/dp: Simplify computing DSC BPPs for DP-SSTdrivers/ | +8 | 2 replies | |
| 32/50 | drm/i915/dp: Simplify computing forced DSC BPP for DP-SSTdrivers/ | +4 | 1 reply | |
| 33/50 | drm/i915/dp: Unify computing compressed BPP for DP-SST and eDPdrivers/ | +13 | 1 reply | |
| 34/50 | drm/i915/dp: Simplify eDP vs. DP compressed BPP computationdrivers/ | +2 | 1 reply | |
| 35/50 | drm/i915/dp: Simplify computing the DSC compressed BPP for DP-MSTdrivers/ | +6 | 1 reply | |
| 36/50 | drm/i915/dsc: Track the detaild DSC slice configurationdrivers/ drivers/ drivers/ | +12 | 1 reply | |
| 37/50 | drm/i915/dsc: Track the DSC stream count in the DSC slice config statedrivers/ drivers/ drivers/ +2 more | +12 | 1 reply | |
| 38/50 | drm/i915/dsi: Move initialization of DSI DSC streams-per-pipe to fill_dsc()drivers/ drivers/ | +5 | 3 replies | |
| 39/50 | drm/i915/dsi: Track the detailed DSC slice configurationdrivers/ | +8 | 1 reply | |
| 40/50 | drm/i915/dp: Track the detailed DSC slice configurationdrivers/ | +21 | 3 replies | |
| 41/50 | drm/i915/dsc: Switch to using intel_dsc_line_slice_count()drivers/ drivers/ drivers/ +1 more | +11 | 1 reply | |
| 42/50 | drm/i915/dp: Factor out intel_dp_dsc_min_slice_count()drivers/ | +17 | 1 reply | |
| 43/50 | drm/i915/dp: Use int for DSC slice count variablesdrivers/ | +5 | 1 reply | |
| 44/50 | drm/i915/dp: Rename test_slice_count to slices_per_linedrivers/ | +5 | 1 reply | |
| 45/50 | drm/i915/dp: Simplify the DSC slice config loop's slices-per-pipe iterationdrivers/ | +13 | 1 reply | |
| 46/50 | drm/i915/dsc: Add intel_dsc_get_slice_config()drivers/ drivers/ drivers/ | +59 | 1 reply | |
| 47/50 | drm/i915/dsi: Use intel_dsc_get_slice_config()drivers/ | +13 | 1 reply | |
| 48/50 | drm/i915/dp: Unify DP and eDP slice count computationdrivers/ | +25 | 1 reply | |
| 49/50 | drm/i915/dp: Add intel_dp_dsc_get_slice_config()drivers/ | +28 | 4 replies | |
| 50/50 | drm/i915/dp: Use intel_dp_dsc_get_slice_config()drivers/ | +3 | 4 replies |
Reviews trailers per patch
All 51 patches have a Reviewed-by or Acked-by.
| Patch | Luca Coelho | Jouni Högander | Vinod Govindapillai |
|---|---|---|---|
| 1/50 | R-b | ||
| 2/50 | R-b | ||
| 3/50 | R-b | ||
| 4/50 | R-b | ||
| 5/50 | R-b | ||
| 6/50 | R-b | ||
| 7/50 | R-b | ||
| 8/50 | R-b | ||
| 9/50 | R-b | R-b | |
| 9/50 | R-b | R-b | |
| 10/50 | R-b | ||
| 11/50 | R-b | ||
| 12/50 | R-b | ||
| 13/50 | R-b | ||
| 14/50 | R-b | R-b | |
| 15/50 | R-b | R-b | |
| 16/50 | R-b | R-b | |
| 17/50 | R-b | R-b | |
| 18/50 | R-b | R-b | |
| 19/50 | R-b | ||
| 20/50 | R-b | ||
| 21/50 | R-b | ||
| 22/50 | R-b | ||
| 23/50 | R-b | ||
| 24/50 | R-b | ||
| 25/50 | R-b | ||
| 26/50 | R-b | ||
| 27/50 | R-b | ||
| 28/50 | R-b | ||
| 29/50 | R-b R-b | ||
| 30/50 | R-b | ||
| 31/50 | R-b | ||
| 32/50 | R-b | ||
| 33/50 | R-b | ||
| 34/50 | R-b | ||
| 35/50 | R-b | ||
| 36/50 | R-b | ||
| 37/50 | R-b | ||
| 38/50 | R-b | ||
| 39/50 | R-b | ||
| 40/50 | R-b | ||
| 41/50 | R-b | ||
| 42/50 | R-b | ||
| 43/50 | R-b | ||
| 44/50 | R-b | ||
| 45/50 | R-b | ||
| 46/50 | R-b | ||
| 47/50 | R-b | ||
| 48/50 | R-b | ||
| 49/50 | R-b | ||
| 50/50 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/50] drm/i915/dp: Clean up link BW/DSC slice config computation
This patchset cleans up the DP link BW and the DSC slice config computation with the following aims:
- Fix the BW calculation taking into account all the MST,DSC,SSC,FEC related overhead and use the proper UHBR/non-UHBR BW utilization factor (which depends on the symbol size vs. effective data size ratio).
- Unify the BW calculation during mode validation and state computation.
- Unify the BW calculation for eDP / DP-SST / DP-MST.
- Compute the DSC slice configuration in a way better reflecting the pipe/DSC stream engine/slice parameters of the config.
Imre Deak (50):
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: Drop unused timeslots param from
dsc_compute_link_config()
drm/i915/dp: Factor out align_max_sink_dsc_input_bpp() drm/i915/dp: Factor out align_max_vesa_compressed_bpp_x16() 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
drm/i915/dp: Align min/max DSC input BPPs to sink caps drm/i915/dp: Align min/max compressed BPPs when calculating BPP limits drm/i915/dp: Drop intel_dp parameter from
intel_dp_compute_config_link_bpp_limits()
drm/i915/dp: Pass intel_output_format to
intel_dp_dsc_sink_{min_max}_compressed_bpp()
drm/i915/dp: Pass mode clock to dsc_throughput_quirk_max_bpp_x16() drm/i915/dp: Factor out compute_min_compressed_bpp_x16() drm/i915/dp: Factor out compute_max_compressed_bpp_x16() drm/i915/dp: Add intel_dp_mode_valid_with_dsc() drm/i915/dp: Unify detect and compute time DSC mode BW validation drm/i915/dp: Use helpers to align min/max compressed BPPs drm/i915/dp: Simplify computing DSC BPPs for eDP drm/i915/dp: Simplify computing DSC BPPs for DP-SST drm/i915/dp: Simplify computing forced DSC BPP for DP-SST drm/i915/dp: Unify computing compressed BPP for DP-SST and eDP drm/i915/dp: Simplify eDP vs. DP compressed BPP computation drm/i915/dp: Simplify computing the DSC compressed BPP for DP-MST drm/i915/dsc: Track the detaild DSC slice configuration drm/i915/dsc: Track the DSC stream count in the DSC slice config state drm/i915/dsi: Move initialization of DSI DSC streams-per-pipe to
fill_dsc()
drm/i915/dsi: Track the detailed DSC slice configuration drm/i915/dp: Track the detailed DSC slice configuration drm/i915/dsc: Switch to using intel_dsc_line_slice_count() drm/i915/dp: Factor out intel_dp_dsc_min_slice_count() drm/i915/dp: Use int for DSC slice count variables drm/i915/dp: Rename test_slice_count to slices_per_line drm/i915/dp: Simplify the DSC slice config loop's slices-per-pipe
iteration
drm/i915/dsc: Add intel_dsc_get_slice_config() drm/i915/dsi: Use intel_dsc_get_slice_config() drm/i915/dp: Unify DP and eDP slice count computation drm/i915/dp: Add intel_dp_dsc_get_slice_config() drm/i915/dp: Use intel_dp_dsc_get_slice_config()
drivers/gpu/drm/display/drm_dp_helper.c | 103 ++- drivers/gpu/drm/i915/display/icl_dsi.c | 6 - drivers/gpu/drm/i915/display/intel_bios.c | 27 +- drivers/gpu/drm/i915/display/intel_display.c | 2 +- .../drm/i915/display/intel_display_types.h | 7 +- drivers/gpu/drm/i915/display/intel_dp.c | 868 +++++++++--------- drivers/gpu/drm/i915/display/intel_dp.h | 26 +- .../drm/i915/display/intel_dp_link_training.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 110 +-- drivers/gpu/drm/i915/display/intel_vdsc.c | 71 +- drivers/gpu/drm/i915/display/intel_vdsc.h | 6 + include/drm/display/drm_dp_helper.h | 3 + 12 files changed, 658 insertions(+), 575 deletions(-)
Signature · 1 line
2.49.1