diff options
author | 2020-05-08 16:05:14 +0200 | |
---|---|---|
committer | 2020-09-10 08:17:48 +0200 | |
commit | 0552daac2d18fc92c71c94492476b8eb521227e9 (patch) | |
tree | e50576470ca8396e9fa41214044c0a965a13907e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: prime: add common helper to check scatterlist contiguity (diff) | |
download | wireguard-linux-0552daac2d18fc92c71c94492476b8eb521227e9.tar.xz wireguard-linux-0552daac2d18fc92c71c94492476b8eb521227e9.zip |
drm: prime: use sgtable iterators in drm_prime_sg_to_page_addr_arrays()
Replace the current hand-crafted code for extracting pages and DMA
addresses from the given scatterlist by the much more robust
code based on the generic scatterlist iterators and recently
introduced sg_table-based wrappers. The resulting code is simple and
easy to understand, so the comment describing the old code is no
longer needed.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions