drm/i915/display: move clk off sanitize to its own function
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 17 Dec 2019 23:05:27 +0000 (15:05 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 19 Dec 2019 01:53:16 +0000 (17:53 -0800)
commit5956f44028f5a0b15f6930256af3d5dbdf1f1f57
tree6a27ccc1de453ca5e2ef031505a52b5bf744db56
parent01f624f01845a1685b6070bfa6be9a13ed03b712
drm/i915/display: move clk off sanitize to its own function

This allows us to isolate reading and writing to the
ICL_DPCLKA_CFGCR0 during the sanitize phase.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Clinton Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217230529.25092-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c