diff options
| author | Chris Wilson <[email protected]> | 2017-02-18 11:27:08 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-02-20 11:03:30 +0000 |
| commit | 23f4a287fc97d94b6110ee0e17ec92670cc8de89 (patch) | |
| tree | c65b6805594d60ed9ee730df968efd82b123cfa2 /tools/perf/scripts/python | |
| 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 <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Radoslaw Szwichtenberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions