]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd88589039b3ea59ab91c443b866251723e1df4fe
tree5679bf75e3c4fc1a8bba626da01c2d0ce42f556f
parent4d8a8ac9621f08628fc5a0814ad0f2b1c6a30d38
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