]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Use the effective data rate for DP compressed BW calculation
authorImre Deak <imre.deak@intel.com>
Mon, 15 Dec 2025 19:23:49 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2025 14:46:40 +0000 (16:46 +0200)
commit2fb850a6aeb20b6a28c23dbddf1eaa704abb9ce9
tree5283e7ab6b312594cec616b9bc7dd6d374c10e6f
parentb1ec2916c929a58b533b7f652d0162299d8a6398
drm/i915/dp: Use the effective data rate for DP compressed BW calculation

Use intel_dp_effective_data_rate() to calculate the required link BW for
compressed streams on non-UHBR DP-SST links. This ensures that the BW is
calculated the same way for all DP output types and DSC/non-DSC modes,
during mode validation as well as during state computation.

This approach also allows for accounting with BW overhead due to DSC,
FEC being enabled on a link. Acounting for these will be added by
follow-up changes.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-10-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c