summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-18 11:27:08 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-02-20 11:03:30 +0000
commit23f4a287fc97d94b6110ee0e17ec92670cc8de89 (patch)
treec65b6805594d60ed9ee730df968efd82b123cfa2 /tools/perf/scripts/python
parent48cb91203e1811e24532ab9204d45f645b69a0e7 (diff)
downloadkernel-23f4a287fc97d94b6110ee0e17ec92670cc8de89.tar.gz
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions