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 MST, SSC BW overhead for uncompressed DP-MST stream BW

On MST links the symbol alignment and SSC have a BW overhead, which
should be accounted for when calculating the required stream BW, do so
during mode validation for an uncompressed stream.

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

Imre Deak e25b6f13 2fb850a6

+4 -1
+4 -1
drivers/gpu/drm/i915/display/intel_dp_mst.c
··· 1458 1458 const int min_bpp = 18; 1459 1459 int max_dotclk = display->cdclk.max_dotclk_freq; 1460 1460 int max_rate, mode_rate, max_lanes, max_link_clock; 1461 + unsigned long bw_overhead_flags = 1462 + DRM_DP_BW_OVERHEAD_MST | DRM_DP_BW_OVERHEAD_SSC_REF_CLK; 1461 1463 int ret; 1462 1464 bool dsc = false; 1463 1465 u16 dsc_max_compressed_bpp = 0; ··· 1493 1491 max_link_clock, max_lanes); 1494 1492 mode_rate = intel_dp_link_required(max_link_clock, max_lanes, 1495 1493 mode->clock, mode->hdisplay, 1496 - fxp_q4_from_int(min_bpp), 0); 1494 + fxp_q4_from_int(min_bpp), 1495 + bw_overhead_flags); 1497 1496 1498 1497 /* 1499 1498 * TODO: