]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: try harder to find WR PLL clock settings
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 10 Aug 2012 13:03:03 +0000 (10:03 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Aug 2012 16:35:28 +0000 (18:35 +0200)
commitc97edf7e9024ce817687b73fd0f833a0a77cef3f
tree448a58326f9125987d8e3b3383240477f1051040
parent27cfab10a5566a715be8980bc655f36f6e3db7b7
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 <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c