diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-05-24 15:31:27 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-06-03 11:13:45 +0200 |
commit | 04f776734c4e03e33111d3d5a994b589870df623 (patch) | |
tree | 53b137189527d0f5556b769b964b4057d8e140d2 /tools | |
parent | c79667dd93b084fe412bcfe7fbf0ba43f7dec520 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions