commit | 6b4bf1c4952a65fae6b4043054b146642f031f19 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Sep 27 16:54:19 2013 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Oct 10 12:46:51 2013 +0200 |
tree | b7c33d3dbc48a8b26404e427480dc884ae1b8ce7 | |
parent | c686122c638838ce7113aeb22e4f1c50446de6eb [diff] |
drm/i915: Rewrite vlv_find_best_dpll() Rewrite vlv_find_best_dpll() to use intel_clock_t rather than an army of local variables. Also extract the code to calculate the derived values into vlv_clock(). v2: Split up the earlier fixes, extract vlv_clock() v3: Initialize best_clock Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>