diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-05-08 16:05:14 +0200 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-09-10 08:17:48 +0200 |
| commit | 0552daac2d18fc92c71c94492476b8eb521227e9 (patch) | |
| tree | e50576470ca8396e9fa41214044c0a965a13907e /lib/mpi/mpiutil.c | |
| parent | d46e7ae24b81533d21edfa90914d27efa0c5f85d (diff) | |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
