drm/i915/tc: Wait for IOM/FW PHY initialization of legacy TC ports
authorImre Deak <imre.deak@intel.com>
Thu, 16 Mar 2023 13:17:15 +0000 (15:17 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 22 Mar 2023 18:31:08 +0000 (20:31 +0200)
commitb25f551ae197293e1efdf991f47a70e8da616845
tree0193565d4a8119856ea8426a8f4051521921ffc0
parent06f66261a1567d66b9d35c87393b6edfbea4c8f8
drm/i915/tc: Wait for IOM/FW PHY initialization of legacy TC ports

During boot-up/system resume, the TC PHY on legacy ports will be
initialized by the IOM/TCSS firmware regardless of a sink being
connected or not (as opposed to DP-alt/TBT ports, which the FW only
inits once a sink is connected).

Wait for the above initialization to complete during HW readout, so that
connecting the PHY later will already see the expected PHY ready state.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316131724.359612-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c