linux/drivers/media/common/videobuf2
Christoph Hellwig 55ea54441f videobuf2: replace a layering violation with dma_map_resource
vb2_dc_get_userptr pokes into arm direct mapping details to get the
resemblance of a dma address for a a physical address that does is
not backed by a page struct.  Not only is this not portable to other
architectures with dma direct mapping offsets, but also not to uses
of IOMMUs of any kind.  Switch to the proper dma_map_resource /
dma_unmap_resource interface instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
2019-02-01 09:56:41 +01:00
..
Kconfig media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Makefile media: vb2: Makefile: place vb2-trace together with vb2-core 2018-02-26 11:39:04 -05:00
vb2-trace.c media: videobuf2: fix build issues with vb2-trace 2018-02-23 05:13:53 -05:00
videobuf2-core.c Linux 4.20-rc7 2018-12-17 10:34:24 -05:00
videobuf2-dma-contig.c videobuf2: replace a layering violation with dma_map_resource 2019-02-01 09:56:41 +01:00
videobuf2-dma-sg.c dma-buf: remove kmap_atomic interface 2018-06-20 15:59:34 +02:00
videobuf2-dvb.c
videobuf2-memops.c
videobuf2-v4l2.c media fixes for v4.20-rc8 2018-12-25 13:11:30 -08:00
videobuf2-vmalloc.c dma-buf: remove kmap_atomic interface 2018-06-20 15:59:34 +02:00