From de8fe8bda1cf7af84327e10b2eeaca0eb215e679 Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Wed, 20 Jan 2010 13:05:15 +0800 Subject: ENGR00119976 v4l2 output: use mannual buffer select for display channel To use manually buffer select instead of channel link, which resolve fb blank during v4l2 running issue. Signed-off-by: Jason Chen --- drivers/media/video/mxc/output/mxc_v4l2_output.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/media/video/mxc/output/mxc_v4l2_output.h') diff --git a/drivers/media/video/mxc/output/mxc_v4l2_output.h b/drivers/media/video/mxc/output/mxc_v4l2_output.h index 315e0ba9c9d..64076a001c6 100644 --- a/drivers/media/video/mxc/output/mxc_v4l2_output.h +++ b/drivers/media/video/mxc/output/mxc_v4l2_output.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2005-2010 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -79,6 +79,7 @@ typedef struct _vout_data { struct semaphore param_lock; struct timer_list output_timer; + struct work_struct timer_work; unsigned long start_jiffies; u32 frame_count; @@ -97,8 +98,10 @@ typedef struct _vout_data { int output_enabled[MXC_V4L2_OUT_NUM_OUTPUTS]; struct v4l2_framebuffer v4l2_fb; int ic_bypass; + u32 work_irq; ipu_channel_t display_ch; ipu_channel_t post_proc_ch; + ipu_channel_t display_input_ch; /*! * FRAME_NUM-buffering, so we need a array -- cgit v1.2.3