summaryrefslogtreecommitdiff
path: root/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:27:32 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:27:32 -0600
commit04d61c58040f259b08e5170d62e2fb49ae8fd19b (patch)
treee1ab1a95a9f8c27741533ec0fcee94743329763c /drivers/media/video/mxc/capture/mxc_v4l2_capture.h
parent9e4175807497c24b82d5866076d8c7c80cdd5a94 (diff)
Bugzilla 605. Fix tearing when VPU rotates images.2.6.22-mx27ads-2007102503272.6.22-mx27-200710250327
Patch for Bugzilla 605. Fix tearing when VPU rotates images. A diagonal line appears when the VPU rotates the picture, at the encode stage. The PRP driver updates the buffer addresses while the PRP is processing data. Applies to linux 2.6.22 kernel for MX27 platform. http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-605.-Fix-tearing-when-VPU-rotates.patch
Diffstat (limited to 'drivers/media/video/mxc/capture/mxc_v4l2_capture.h')
-rw-r--r--drivers/media/video/mxc/capture/mxc_v4l2_capture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
index 69cc5189fd16..733bcc66599a 100644
--- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
+++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.h
@@ -105,7 +105,8 @@ typedef struct _cam_data {
spinlock_t int_lock;
struct mxc_v4l_frame frame[FRAME_NUM];
int skip_frame;
- int overflow;
+ wait_queue_head_t overflow_queue;
+ int overflow;
wait_queue_head_t enc_queue;
int enc_counter;
dma_addr_t rot_enc_bufs[2];