commit | 23f4a287fc97d94b6110ee0e17ec92670cc8de89 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Feb 18 11:27:08 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Feb 20 11:03:30 2017 +0000 |
tree | c65b6805594d60ed9ee730df968efd82b123cfa2 | |
parent | 48cb91203e1811e24532ab9204d45f645b69a0e7 [diff] |
drm/i915: Prevent divide-by-zero in debugfs/i915_rps_boost_info Either by chance, or by misread, the current evaluation interval may be zero. If that is the case, don't divide by it! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170218112708.24504-1-chris@chris-wilson.co.uk Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>