From c393cb3d24bea6fbac194646580292b625ab64e9 Mon Sep 17 00:00:00 2001 From: Xinyu Chen Date: Tue, 10 Jan 2012 09:43:42 +0800 Subject: ENGR00171621 ipu device: remove error printk to avoid performance drop Android dual display will call IPU_QUEUE_TASK to do UI resize to second display on each frame, and befrore calling it, a ioctl of IPU_CHECK_TASK must be called to refine the parameters. This ioctl will print out error log if there's parameters mismatch. It causes about 4 lines each frame, which let fps drop. Remove such warning. Signed-off-by: Xinyu Chen --- drivers/mxc/ipu3/ipu_device.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c index 9395d8a6661c..7d927f13795a 100644 --- a/drivers/mxc/ipu3/ipu_device.c +++ b/drivers/mxc/ipu3/ipu_device.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2005-2012 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -507,7 +507,6 @@ static void dump_check_err(struct device *dev, int err) dev_err(dev, "input over limitation\n"); break; case IPU_CHECK_ERR_OVERLAY_WITH_VDI: - dev_err(dev, "do not support overlay with deinterlace\n"); break; case IPU_CHECK_ERR_OV_OUT_NO_FIT: dev_err(dev, @@ -517,19 +516,14 @@ static void dump_check_err(struct device *dev, int err) dev_err(dev, "no ipu processing need\n"); break; case IPU_CHECK_ERR_SPLIT_INPUTW_OVER: - dev_err(dev, "split mode input width overflow\n"); break; case IPU_CHECK_ERR_SPLIT_INPUTH_OVER: - dev_err(dev, "split mode input height overflow\n"); break; case IPU_CHECK_ERR_SPLIT_OUTPUTW_OVER: - dev_err(dev, "split mode output width overflow\n"); break; case IPU_CHECK_ERR_SPLIT_OUTPUTH_OVER: - dev_err(dev, "split mode output height overflow\n"); break; case IPU_CHECK_ERR_SPLIT_WITH_ROT: - dev_err(dev, "not support split mode with rotation\n"); break; default: break; -- cgit v1.2.3