]> 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)
commit99866b618956ec449c0d5c24872bd59daa47215b
tree448a58326f9125987d8e3b3383240477f1051040
parent54dab9202ec3a4e2ca56eb9bead4319ff8c10cf5
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