commit | 69e4f900be175fd80fe69221a329c8993b16925b | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Sep 24 21:26:20 2013 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Oct 10 12:46:50 2013 +0200 |
tree | d7e2454313d8e1577f8645aa3f89186985558f66 | |
parent | 953d22e870e2f15963976c77985b263afcceafc9 [diff] |
drm/i915: Make vlv_find_best_dpll() ppm calculation safe Use div_u64() to make the ppm calculation in vlv_find_best_dpll() safe against interger overflows. 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>