aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Lespiau <[email protected]>2014-08-30 16:51:00 +0100
committerDaniel Vetter <[email protected]>2014-09-03 12:38:54 +0200
commit55820e1e840def3802fc366607f2b25e31036ab1 (patch)
tree32b942fb92c24295ea12a11c9945e30c80c07542 /tools/perf/scripts/python
parent1ed1ef9dd91ef8067a45889367a888c7494675e0 (diff)
drm/i915: Don't overrun the intel_wa_regs array
When entering intel_ring_emit_wa() with num_wa_regs equal to I915_MAX_WA_REGS, we end up indexing the intel_wa_regs array beyond its allocation. Fix the check then. Signed-off-by: Damien Lespiau <[email protected]> Reviewed-by: Arun Siluvery <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions