drm/i915: add the FCLK case to intel_ddi_get_cdclk_freq
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 6 Aug 2013 21:57:11 +0000 (18:57 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Aug 2013 12:52:25 +0000 (14:52 +0200)
commita40066412cc2ace1c1299e7a4d7a81dc33395b6f
tree6b20e8f368e1ccebf3404a82ebf8c81f275c5f8c
parentec013e7f491cceef0e87190a3c6b132ce49f7ce4
drm/i915: add the FCLK case to intel_ddi_get_cdclk_freq

We already have code to disable LCPLL and switch to FCLK, so we need this too.
We still don't call the code to disable LCPLL, but we'll call it when we add
support for Package C8+.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c