media: s5p-mfc: Add support for V4L2_MEMORY_DMABUF type 22/40722/2 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.160122 accepted/tizen/common/20150610.144553 accepted/tizen/mobile/20150611.004618 accepted/tizen/tv/20150611.004627 accepted/tizen/wearable/20150611.004643 submit/tizen/20150610.113634 submit/tizen_3.0.2015.q2_common/20150615.075539
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Nov 2013 07:57:34 +0000 (16:57 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 10 Jun 2015 06:16:41 +0000 (23:16 -0700)
commitad533b7c467aa4117cde97bdd9b86e98e35c8741
treec385bf2746cc677da0a8d84f671e4195e983c119
parent3a787d8f31f201ba75781174f9066d705f342470
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