]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Prefer even dividers for SKL DPLLs
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 25 Jun 2015 15:19:24 +0000 (16:19 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Jun 2015 17:39:31 +0000 (19:39 +0200)
commit4c8d2e0af8f4e91a635c3fb59ea75ffd768d196f
treeb50993dd5022ffecf2c4e2197ad35dbd758d2266
parentad6a1656d63df313583cb69a74a9e2b23a7db5af
drm/i915/skl: Prefer even dividers for SKL DPLLs

Currently, if an odd divider improves the deviation (minimizes it), we
take that divider. The recommendation is to prefer even dividers.

v2: Move the check at the right place after having inverted the two for
    loops in the previous patch.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c