drm/i915: Factor out p2 divider selection for pre-ilk platforms
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Jun 2015 10:47:22 +0000 (13:47 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Jun 2015 13:45:05 +0000 (15:45 +0200)
The same dpll p2 divider selection is repeated three times in the
gen2-4 .find_dpll() functions. Factor it out.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found