media: s5p-mfc: Add support for V4L2_MEMORY_DMABUF type
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Nov 2013 07:57:34 +0000 (16:57 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:45 +0000 (07:27 +0200)
commit803a9535089961bf5e4f56c60b1dbca8b4ada8b6
treed024720fc7ed4df763567d7a6d70420d3c06de68
parent277fb96876bde8cbeed7f78b01d20c75ff48f808
media: s5p-mfc: Add support for V4L2_MEMORY_DMABUF type

There is memory constraint that it should be within 128MB from
firmware address. But if IOMMU is supported, then this constraint
is meaningless and DMABUF importing can be used.
So this patch adds V4L2_MEMORY_DMABUF type support for both decoder
and encoder.

Change-Id: I2c893da31f906fcd3f26edeed67ad1e4667e6081
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c