drm/i915: Extract _intel_{enable,disable}_shared_dpll()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 12 Oct 2023 12:35:22 +0000 (15:35 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 Oct 2023 06:28:49 +0000 (08:28 +0200)
commit7880d41c55f1e177a88c275d2e3ccec4debfcb51
tree51b9e7cf49799f2af9460a678c6ba6062a9573d7
parent3e7e07c4cf638b281f420be77afef7d93481a212
drm/i915: Extract _intel_{enable,disable}_shared_dpll()

We have a bit of duplicated code around the DPLL disabling. Extract
that to a new function, and for symmetry also do the same for the
enable direction.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231012123522.26045-5-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dpll_mgr.c