drm/i915: factor out vlv_PLL_is_optimal
authorImre Deak <imre.deak@intel.com>
Tue, 17 Mar 2015 09:40:03 +0000 (11:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Mar 2015 10:48:20 +0000 (11:48 +0100)
commitd5dd62bd9a19bcea4bcf20f66de56591fdd0d8d2
treea05c4a6f880456d54f7fb305f83eb84dd5c554b2
parentbdd7554d568fa165b0e86fc32b1cde3c895ff774
drm/i915: factor out vlv_PLL_is_optimal

Factor out the logic to decide whether the newly calculated dividers are
better than the best found so far. Do this for clarity and to prepare
for the upcoming BXT helper needing the same.

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.025352 seconds and 5 git commands to generate.