From: Paulo Zanoni Date: Fri, 5 Oct 2012 15:05:52 +0000 (-0300) Subject: drm/i915: rewrite the LCPLL code X-Git-Tag: v3.8-rc1~82^2~192^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f689aa6b14e058d4effd734e9920ed9531401d;p=pandora-kernel.git drm/i915: rewrite the LCPLL code Right now, we're trying to enable LCPLL at every mode set, but we're never disabling it. Also, we really don't want to be disabling LCPLL since it requires a very complex disable/enable sequence. This register should really be set by the BIOS and we shouldn't be touching it. Still, let's try to check its value and print some errors in case we find something wrong. We're also adding intel_ddi_get_cdclk_freq which will be used later in other places. Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed