media: videobuf2: handle non-contiguous DMA allocations
authorSergey Senozhatsky <senozhatsky@chromium.org>
Thu, 9 Sep 2021 11:24:30 +0000 (13:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:57 +0000 (10:07 +0200)
commitde27891f675ed1e46e8821d2e05e036e5f97586b
treeb930779692554bc3a0b0ed6534a3a064bb981d05
parentc0acf9cfeee061f041fab778dbdcb34b6ca5e2e7
media: videobuf2: handle non-contiguous DMA allocations

This adds support for the new noncontiguous DMA API, which
requires allocators to have two execution branches: one
for the current API, and one for the new one.

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/common/videobuf2/videobuf2-dma-contig.c