commit | d5dd62bd9a19bcea4bcf20f66de56591fdd0d8d2 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Tue Mar 17 11:40:03 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Mar 20 11:48:20 2015 +0100 |
tree | a05c4a6f880456d54f7fb305f83eb84dd5c554b2 | |
parent | bdd7554d568fa165b0e86fc32b1cde3c895ff774 [diff] |
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>