drm/i915: Fix PCH reference clock for FDI on HSW/BDW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Oct 2019 18:56:43 +0000 (21:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Oct 2019 17:17:11 +0000 (20:17 +0300)
commitdd5279c71405533d4ddbb9453effc60f0f5bf211
tree1dce0a905433b5679d5731ff6945b34d665af2d8
parent2728200f48d315748b4fb2b2525e1ac211e97ecf
drm/i915: Fix PCH reference clock for FDI on HSW/BDW

The change to skip the PCH reference initialization during fastboot
did end up breaking FDI. To fix that let's try to do the PCH reference
init whenever we're disabling a DPLL that was using said reference
previously.

Cc: stable@vger.kernel.org
Tested-by: Andrija <akijo97@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112084
Fixes: b16c7ed95caf ("drm/i915: Do not touch the PCH SSC reference if a PLL is using it")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022185643.1483-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
drivers/gpu/drm/i915/i915_drv.h