Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/dp: Account with DSC BW overhead for compressed DP-SST stream BW

A DSC compressed stream requires FEC (except for eDP), which has a BW
overhead on non-UHBR links that must be accounted for explicitly. Do
that during computing the required BW.

Note that the overhead doesn't need to be accounted for on UHBR links
where FEC is always enabled and so the corresponding overhead is part of
the channel coding efficiency instead (i.e. the overhead is part of the
available vs. the required BW).

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-12-imre.deak@intel.com

Imre Deak 260aef18 e25b6f13

+5 -1
+5 -1
drivers/gpu/drm/i915/display/intel_dp.c
··· 2086 2086 if (ret) 2087 2087 continue; 2088 2088 } else { 2089 + unsigned long bw_overhead_flags = 2090 + pipe_config->fec_enable ? DRM_DP_BW_OVERHEAD_FEC : 0; 2091 + 2089 2092 if (!is_bw_sufficient_for_dsc_config(intel_dp, 2090 2093 link_rate, lane_count, 2091 2094 adjusted_mode->crtc_clock, 2092 2095 adjusted_mode->hdisplay, 2093 2096 pipe_config->dsc.slice_count, 2094 - dsc_bpp_x16, 0)) 2097 + dsc_bpp_x16, 2098 + bw_overhead_flags)) 2095 2099 continue; 2096 2100 } 2097 2101