Re: [Intel-gfx] [PATCH v2 11/11] drm/i915/dp: Reuse intel_dp_{max, effective}_data_rate in intel_link_compute_m_n()

2023-11-17 Thread Ville Syrjälä
On Thu, Nov 16, 2023 at 03:18:41PM +0200, Imre Deak wrote: > Reuse intel_dp_max_data_rate() and intel_dp_effective_data_rate() in > intel_link_compute_m_n(), instead of open-coding the equivalent. Note > the kbit/sec -> kByte/sec unit change in the M/N values, but this not > reducing the

[Intel-gfx] [PATCH v2 11/11] drm/i915/dp: Reuse intel_dp_{max, effective}_data_rate in intel_link_compute_m_n()

2023-11-16 Thread Imre Deak
Reuse intel_dp_max_data_rate() and intel_dp_effective_data_rate() in intel_link_compute_m_n(), instead of open-coding the equivalent. Note the kbit/sec -> kByte/sec unit change in the M/N values, but this not reducing the precision, as the link rate value is based anyway on a less precise 10