drm/i915/dp_link_caps: Add helper to get common rate index

Add intel_dp_link_caps_common_rate_idx() to look up supported link rates
tracked by the link_caps module by rate. This prepares for tracking these
capabilities internally within the link caps module.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260616200849.3534628-18-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-06-16 23:08:37 +03:00
commit 487beac7b8
4 changed files with 16 additions and 6 deletions