drm/i915/dp_link_training: Use config iterator for fallback

Switch the fallback loop to use the link configuration iterator to
select a fallback configuration.

This also allows unexporting and removing from the link caps interface
all the common link rate query helpers and the helpers that accept or
return a link configuration index.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260701153204.4124150-25-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-07-01 18:31:53 +03:00
commit 86e664219a
3 changed files with 33 additions and 152 deletions