drm/i915: Disable DPLLs before disconnecting the TC PHY
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:33 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:31 +0000 (11:35 +0300)
commitb108bdd0e22a402bd3e4a6391acbb6aefad31a9e
tree0f8fadee3b812f304456c50fdae3c29b5f9c23ec
parent3acac2d06a7e0f0b182b86b25bb8a2e9b3300406
drm/i915: Disable DPLLs before disconnecting the TC PHY

Bspec requires disabling the DPLLs on TC ports before disconnecting the
port's PHY. Add a post_pll_disable encoder hook and move the call to
disconnect the port's PHY from the post_disable hook to the new hook.

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-28-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp_mst.c