summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorFederico Vaga <federico.vaga@gmail.com>2012-04-12 17:39:37 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-20 17:01:58 +0200
commita8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4 (patch)
tree7d99ace4024f121962edc6bd663d526eafafc838 /include/media
parent[media] adv7180: add support to user controls (diff)
downloadlinux-a8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4.tar.xz
linux-a8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4.zip
[media] videobuf-dma-contig: add cache support
Signed-off-by: Federico Vaga <federico.vaga@gmail.com> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/videobuf-dma-contig.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/videobuf-dma-contig.h b/include/media/videobuf-dma-contig.h
index f0ed82543d9f..f473aeb86d3f 100644
--- a/include/media/videobuf-dma-contig.h
+++ b/include/media/videobuf-dma-contig.h
@@ -26,6 +26,16 @@ void videobuf_queue_dma_contig_init(struct videobuf_queue *q,
void *priv,
struct mutex *ext_lock);
+void videobuf_queue_dma_contig_init_cached(struct videobuf_queue *q,
+ const struct videobuf_queue_ops *ops,
+ struct device *dev,
+ spinlock_t *irqlock,
+ enum v4l2_buf_type type,
+ enum v4l2_field field,
+ unsigned int msize,
+ void *priv,
+ struct mutex *ext_lock);
+
dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf);
void videobuf_dma_contig_free(struct videobuf_queue *q,
struct videobuf_buffer *buf);