drm/i915/dp_mst: Fix symbol clock when calculating the DSC DPT bpp limit
authorImre Deak <imre.deak@intel.com>
Tue, 16 Apr 2024 22:10:01 +0000 (01:10 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Apr 2024 14:05:36 +0000 (17:05 +0300)
commit854ff3d9b8bb5187cd753c2ac59248c83f42fc99
treed52a7eb91a6baff668b8b87c503384b055e42339
parentf1d6aec41f13aad3c3ff8daa9fddb38539afe8f6
drm/i915/dp_mst: Fix symbol clock when calculating the DSC DPT bpp limit

The expected link symbol clock unit when calculating the DSC DPT bpp
limit is kSymbols/sec, aligning with the dotclock's kPixels/sec unit
based on the crtc clock. As opposed to this port_clock is used - which
has a 10 kbits/sec unit - with the resulting symbol clock in 10
kSymbols/sec units (disregarding the rounding error for the 13.5Gbps
rate). Fix the calculation using the expected 10x factor.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240416221010.376865-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c