Re: [Intel-gfx] [PATCH v2 10/11] drm/i915/dp: Simplify intel_dp_max_data_rate()

2023-11-17 Thread Ville Syrjälä
On Thu, Nov 16, 2023 at 03:18:40PM +0200, Imre Deak wrote: > Simplify intel_dp_max_data_rate() using > drm_dp_bw_channel_coding_efficiency() to calculate the max data rate for > both DP1.4 and UHBR link rates. This trades a redundant multiply/divide > for readability. > > Cc: Jani Nikula >

[Intel-gfx] [PATCH v2 10/11] drm/i915/dp: Simplify intel_dp_max_data_rate()

2023-11-16 Thread Imre Deak
Simplify intel_dp_max_data_rate() using drm_dp_bw_channel_coding_efficiency() to calculate the max data rate for both DP1.4 and UHBR link rates. This trades a redundant multiply/divide for readability. Cc: Jani Nikula Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/display/intel_dp.c | 26