diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-09-24 21:26:20 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-10 12:46:50 +0200 |
commit | 69e4f900be175fd80fe69221a329c8993b16925b (patch) | |
tree | d7e2454313d8e1577f8645aa3f89186985558f66 /tools/perf/scripts/python/check-perf-trace.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions