diff options
| author | Tvrtko Ursulin <[email protected]> | 2017-08-03 10:13:51 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2017-09-07 10:48:29 +0100 |
| commit | 89d8589cd72c6f48b19c370517d16f3ee23909df (patch) | |
| tree | 6b00e8b0121a55b72dc9098a412395cf99692575 /tools/perf/scripts/python/bin | |
| parent | c125906b839b794c580a5de911de65bd2c63aaee (diff) | |
lib/scatterlist: Introduce and export __sg_alloc_table_from_pages
Drivers like i915 benefit from being able to control the maxium
size of the sg coalesced segment while building the scatter-
gather list.
Introduce and export the __sg_alloc_table_from_pages function
which will allow it that control.
v2: Reorder parameters. (Chris Wilson)
v3: Fix incomplete reordering in v2.
v4: max_segment needs to be page aligned.
v5: Rebase.
v6: Rebase.
v7: Fix spelling in commit and mention max segment size in
__sg_alloc_table_from_pages kerneldoc. (Andrew Morton)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: [email protected]
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions