drm/i915/dp: Simplify querying of forced link parameters

Simplify querying the forced link rate and lane count by
performing the zero checks inside the helpers, allowing callers
to use the returned values directly.

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