aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-02-14 09:23:44 +0000
committerChris Wilson <[email protected]>2017-02-14 22:30:20 +0000
commite1c5f754067b594de58d387aa5873dec83b6c9fd (patch)
treebe71a931e05e3bb7a0de333adfd8e15f62269db6 /tools/perf/scripts/python/event_analyzing_sample.py
parent96676fe3a18e61ee2d67992da537d6b68f45df66 (diff)
drm/i915: Avoid overflow in computing pot_hole loop termination
When using the mock_ppgtt selftest, the GTT is large enough to cause an overflow in pot_hole() when adding 2 pages to the address. Avoid the overflow by computing the final valid address and iterating up to that address. Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions