drm/i915: Move shared DPLL disabling into CRTC disable hook
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:32 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:31 +0000 (11:35 +0300)
commit3acac2d06a7e0f0b182b86b25bb8a2e9b3300406
tree5fb0f3c2c8cb8ebdfe19e5e73c630304b923c449
parent9796a5b2725d1b3ddbbe7b1f3dec56af8cc6af22
drm/i915: Move shared DPLL disabling into CRTC disable hook

The spec requires disabling the PLL on TC ports before disconnecting the
port's PHY. Prepare for that by moving the PLL disabling to the CRTC
disable hook, while disconnecting the PHY will be moved to the
post_pll_disable() encoder hook in the next patch.

v2: Move the call from intel_crtc_disable_noatomic() as well.

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