drm/i915/dp_link_caps: Track max common lane count in link_caps

Pass the maximum common lane count to intel_dp_link_caps_update() and
track it together with the supported link rates. This prepares for
converting all users of intel_dp_max_common_lane_count() to query the
value from the link caps module instead.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260616200849.3534628-20-imre.deak@intel.com
This commit is contained in:
Imre Deak 2026-06-16 23:08:39 +03:00
commit de87e3bfc5
3 changed files with 15 additions and 14 deletions