aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2010-05-17 10:45:45 -0400
committerLiu Ying <b17645@freescale.com>2010-05-17 10:45:45 -0400
commit25e4a8da3d28daf3677a51a6d8fb3bb7709bb5c5 (patch)
tree58e7aa1dd511ba920207487cdac34ef5afd8c712
parent1975b9985311cb32dfe9b5eb3dcc8fcda63a07d2 (diff)
ENGR00123507 IPUv3:Set suitable IDMAC burst size for UYVY and ABGR32
1)Set the IDMAC channel's burst size to be 32 pixels if the channel is in UYVY pixel format. 2)Set the IDMAC channel's burst size to be 16 pixels if the channel is in ABGR32 pixel format. Signed-off-by: Liu Ying <b17645@freescale.com>
-rw-r--r--drivers/mxc/ipu3/ipu_param_mem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mxc/ipu3/ipu_param_mem.h b/drivers/mxc/ipu3/ipu_param_mem.h
index 434f4a4bb62..30e6dc1005b 100644
--- a/drivers/mxc/ipu3/ipu_param_mem.h
+++ b/drivers/mxc/ipu3/ipu_param_mem.h
@@ -217,13 +217,14 @@ static inline void _ipu_ch_param_init(int ch,
case IPU_PIX_FMT_ABGR32:
ipu_ch_param_set_field(&params, 0, 107, 3, 0); /* bits/pixel */
ipu_ch_param_set_field(&params, 1, 85, 4, 7); /* pix format */
+ ipu_ch_param_set_field(&params, 1, 78, 7, 15); /* burst size */
_ipu_ch_params_set_packing(&params, 8, 0, 8, 8, 8, 16, 8, 24);
break;
case IPU_PIX_FMT_UYVY:
ipu_ch_param_set_field(&params, 0, 107, 3, 3); /* bits/pixel */
ipu_ch_param_set_field(&params, 1, 85, 4, 0xA); /* pix format */
- ipu_ch_param_set_field(&params, 1, 78, 7, 15); /* burst size */
+ ipu_ch_param_set_field(&params, 1, 78, 7, 31); /* burst size */
break;
case IPU_PIX_FMT_YUYV:
ipu_ch_param_set_field(&params, 0, 107, 3, 3); /* bits/pixel */