drm/i915/dp_link_caps: Add helper to get the number of supported link rates

Add intel_dp_link_caps_num_common_rates() to return the number of
supported link rates tracked by the link_caps module. 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-17-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-06-16 23:08:36 +03:00
commit 66cd2b38b5
3 changed files with 8 additions and 2 deletions