drm/i915/dp: Factor out intel_dp_config_required_rate()
authorImre Deak <imre.deak@intel.com>
Tue, 20 Feb 2024 21:18:26 +0000 (23:18 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 27 Feb 2024 15:34:24 +0000 (17:34 +0200)
commite35cce9371fe1dd88a40cce676b12a98d36fcd77
tree26bb8e811d37a2f47b575addb4d1ec9e625049b5
parent204863d668ff06b8b33e626766e6e75e48ed9639
drm/i915/dp: Factor out intel_dp_config_required_rate()

Factor out intel_dp_config_required_rate() used by a follow-up patch
enabling the DP tunnel BW allocation mode.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240220211841.448846-7-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h