diff options
author | Jason Chen <b02280@freescale.com> | 2011-08-22 10:25:51 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-09-08 12:49:09 +0800 |
commit | 17cfecb2eb33c50e3ab6374170a6c8c01a37d92a (patch) | |
tree | c5b4fa669e3e0ba39670139ae0649d6f5738ecff | |
parent | 46ec183e1d456cc0a925cfb283310b3d43ac8aa6 (diff) |
ENGR00155135-2 ipuv3 dev: add processing driver support
IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing
support, this patch make all these features into one processing driver.
A struct ipu_task is the interface between user and this driver, user
just need fill his task struct and queue it through ioctl, then wait
ipu hardware finish its job (now only support BLOCKING operation, not
support NO_BLOCK operation).
Pls refer to inlcude/linux/ipu.h for structure information and unit test
for usage.
This patch is for MSL file change.
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imx_ipuv3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx_ipuv3.c b/arch/arm/plat-mxc/devices/platform-imx_ipuv3.c index 311c28d827f6..4c3ebaf327dc 100644 --- a/arch/arm/plat-mxc/devices/platform-imx_ipuv3.c +++ b/arch/arm/plat-mxc/devices/platform-imx_ipuv3.c @@ -201,8 +201,9 @@ struct platform_device *__init imx_add_ipuv3( pdata->init = data->init; pdata->pg = data->pg; - return imx_add_platform_device("imx-ipuv3", id, - res, ARRAY_SIZE(res), pdata, sizeof(*pdata)); + return imx_add_platform_device_dmamask("imx-ipuv3", id, + res, ARRAY_SIZE(res), pdata, sizeof(*pdata), + DMA_BIT_MASK(32)); } struct platform_device *__init imx_add_ipuv3_fb( |