drm/i915/tc: Factor out tc_phy_verify_legacy_or_dp_alt_mode()
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:18 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:30 +0000 (11:35 +0300)
commit712f422ed70c6778018152896d6b4e5ff70fb2b4
treeadadaf4240b09d6d7910b0b772140b9baa229217
parentd1fc4e391fbd321dff166208e58e30d3196626ba
drm/i915/tc: Factor out tc_phy_verify_legacy_or_dp_alt_mode()

Factor out a function verifying the PHY connected state in legacy or
DP-alt mode. This is common to all platforms, which can be reused in
platform specific connect hooks added in follow-up patches.

No functional changes.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-13-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c