drm/i915/dp_link_caps: Add helper to reset max link limits

Add a helper to reset the link_caps::max_limits max link limits to the
maximum common supported rate and lane count.

This is needed by a follow-up change in the link training fallback code,
which temporarily resets max_limits before searching for a fallback
configuration.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260616200849.3534628-24-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-06-16 23:08:43 +03:00
commit 13b1b0b98b
2 changed files with 23 additions and 0 deletions