commit | c686122c638838ce7113aeb22e4f1c50446de6eb | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Sep 24 21:26:21 2013 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Oct 10 12:46:50 2013 +0200 |
tree | 75125c24589ef723484b11b2ed760a850db2ca91 | |
parent | 69e4f900be175fd80fe69221a329c8993b16925b [diff] |
drm/i915: Don't underflow bestppm We do 'bestppm - 10' in vlv_find_best_dpll() but never check whether that might underflow. Add such a check. 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>