dma-mapping: introduce dma_get_merge_boundary()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 28 Aug 2019 12:35:40 +0000 (21:35 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 3 Sep 2019 06:33:01 +0000 (08:33 +0200)
commit6ba99411b858bd70bae966633561e698cd6de38c
tree5679bf75e3c4fc1a8bba626da01c2d0ce42f556f
parent38c38cb73223218f6eedf485280917af1f8a0af2
dma-mapping: introduce dma_get_merge_boundary()

This patch adds a new DMA API "dma_get_merge_boundary". This function
returns the DMA merge boundary if the DMA layer can merge the segments.
This patch also adds the implementation for a new dma_map_ops pointer.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/DMA-API.txt
include/linux/dma-mapping.h
kernel/dma/mapping.c