| commit | d46e7ae24b81533d21edfa90914d27efa0c5f85d | [log] [tgz] |
|---|---|---|
| author | Marek Szyprowski <[email protected]> | Fri May 08 16:04:44 2020 +0200 |
| committer | Marek Szyprowski <[email protected]> | Thu Sep 10 08:17:48 2020 +0200 |
| tree | a97b32329877f5d95b9c41c7507d5672dba2754e | |
| parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 [diff] |
drm: prime: add common helper to check scatterlist contiguity It is a common operation done by DRM drivers to check the contiguity of the DMA-mapped buffer described by a scatterlist in the sg_table object. Let's add a common helper for this operation. Signed-off-by: Marek Szyprowski <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Reviewed-by: Robin Murphy <[email protected]>