diff options
author | Chris Wilson <[email protected]> | 2016-10-11 09:20:21 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-10-11 10:15:01 +0100 |
commit | 871dfbd67d4ecbcc83fc9e80a310ca9bf3c44c40 (patch) | |
tree | 277f8c6c782b4785118d2facc50cb0199d763aea /tools/perf/scripts/python/stackcollapse.py | |
parent | 465350d0db06e280dfd7998392269358bba30813 (diff) |
drm/i915: Allow compaction upto SWIOTLB max segment size
commit 1625e7e549c5 ("drm/i915: make compact dma scatter lists creation
work with SWIOTLB backend") took a heavy handed approach to undo the
scatterlist compaction in the face of SWIOTLB. (The compaction hit a bug
whereby we tried to pass a segment larger than SWIOTLB could handle.) We
can be a little more intelligent and try compacting the scatterlist up
to the maximum SWIOTLB segment size (when using SWIOTLB).
v2: Tidy sg_mark_end() and cpp
Signed-off-by: Chris Wilson <[email protected]>
CC: Imre Deak <[email protected]>
CC: Daniel Vetter <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions