From: Paulo Zanoni Date: Fri, 10 Aug 2012 13:03:03 +0000 (-0300) Subject: drm/i915: try harder to find WR PLL clock settings X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~61^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126e9be816e7c0322f5dac994f94d65a8fabcc56;p=pandora-kernel.git drm/i915: try harder to find WR PLL clock settings If we don't find the exact refresh rate, go with the next one. This makes some modes work for me. They won't have the best settings, but will at least have something. Just returning from this function when we don't find the perfect settings does not help us at all. Version 2: - Remove duplicate lines on the clock table. - Add back debug message with refresh, p, n2 and r2. Signed-off-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed