diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-18 15:02:50 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-18 16:22:27 +0300 |
commit | 4ff340f0617d02ab67a087977883ef8eff36bd68 (patch) | |
tree | 0db61afda4a8b5a7401acc70d5edb81a114d4aa4 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | b4bcbe2a90a1127a6dad72fbda27e77705d9e0f4 (diff) | |
download | linux-4ff340f0617d02ab67a087977883ef8eff36bd68.tar.xz |
drm/i915: Limit the scattergather coalescing to 32bits
The scattergather list uses a 32bit size counter, we should avoid
exceeding it.
v2: Also we should use unsigned int to match sg->length.
Fixes: 871dfbd67d4e ("drm/i915: Allow compaction upto SWIOTLB max segment size")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161018120251.25043-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions