drm/i915: Extract intel_ddi_post_disable_hdmi_or_sst()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Apr 2024 16:34:57 +0000 (19:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Apr 2024 20:58:10 +0000 (23:58 +0300)
commitf3b93eaea3198179126e137dc12ed180d581a9b5
treef79aa5c96cbf5f403bf62e39783cde26f4a8b304
parent3a487d111d065f212f863f2327fdbd3fc311f363
drm/i915: Extract intel_ddi_post_disable_hdmi_or_sst()

Extract the "not-MST" stuff from intel_ddi_post_disable() so that
the whole thing isn't so cluttered.

The bigjoiner slave handling was outside of the !MST check,
but it really should have been inside it as its the counterpart
to the master handling inside the check. So we pull that
in as well. There is no functional change here as we don't
currently support bigjoiner+MST anyway.

v2: Rebase
v3: Actually extract the slave code as claimed in
    the commit message (presumably a rebase fail in v2)

Tested-by: Vidya Srinivas <vidya.srinivas@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240409163502.29633-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_ddi.c