]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/chv: Force PHY clock buffers off after PLL disable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 27 May 2014 13:32:55 +0000 (16:32 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Jun 2014 14:57:30 +0000 (16:57 +0200)
commit76c9ee36ffe051acb939eb1085108e68f203750b
tree6c537aa7ead18fbc62f349f6e842889cbeee4ebf
parente7b1fa641785cd750fcadb8bdc9a83e401134670
drm/i915/chv: Force PHY clock buffers off after PLL disable

Now that we forced the clock buffers on in .pre_pll_enable() we
should probably undo the damage after we've turned the PLL off.

We do the clock buffer force enable in the .pre_pll_enable() hook
as we need to know which port is going to be used, but in the disable
case we don't need the port since we just disable the clock buffers
to both channels. So we can do this in chv_disable_pll() instead
of having to add any kind of .post_pll_disable() hook.

v2: Improve the commit message

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c