]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 27 May 2014 16:55:59 +0000 (18:55 +0200)
commita4a4c01e22b83a55c30c2e1f36f1b3d70abac2a4
treee5df1f2342014ddb229eb87c3e507c2e5a4d76c8
parenta35749b13e689e69410f8a39e1851d637bc67894
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