summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-05-24 15:31:27 +0200
committerSylwester Nawrocki <s.nawrocki@samsung.com>2016-06-03 11:13:45 +0200
commit04f776734c4e03e33111d3d5a994b589870df623 (patch)
tree53b137189527d0f5556b769b964b4057d8e140d2 /arch/sh
parentc79667dd93b084fe412bcfe7fbf0ba43f7dec520 (diff)
downloadop-kernel-dev-04f776734c4e03e33111d3d5a994b589870df623.zip
op-kernel-dev-04f776734c4e03e33111d3d5a994b589870df623.tar.gz
media: s5p-mfc: add iommu support
This patch adds support for IOMMU to s5p-mfc device driver. MFC firmware is limited and it cannot use the default configuration. If IOMMU is available, the patch disables the default DMA address space configuration and creates a new address space of size limited to 256M and base address set to 0x20000000. For now the same address space is shared by both 'left' and 'right' memory channels, because the DMA/IOMMU frameworks do not support configuring them separately. This is not optimal, but besides limiting total address space available has no other drawbacks (MFC firmware supports 256M of address space per each channel). Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud