diff options
| author | Federico Vaga <federico.vaga@gmail.com> | 2012-04-12 11:39:37 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 11:01:58 -0400 |
| commit | a8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4 (patch) | |
| tree | 7d99ace4024f121962edc6bd663d526eafafc838 /include | |
| parent | bca7ad1a332a0754860bdd57b258f8e9ee5eb2a5 (diff) | |
[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')
| -rw-r--r-- | include/media/videobuf-dma-contig.h | 10 |
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, | |||
| 26 | void *priv, | 26 | void *priv, |
| 27 | struct mutex *ext_lock); | 27 | struct mutex *ext_lock); |
| 28 | 28 | ||
| 29 | void videobuf_queue_dma_contig_init_cached(struct videobuf_queue *q, | ||
| 30 | const struct videobuf_queue_ops *ops, | ||
| 31 | struct device *dev, | ||
| 32 | spinlock_t *irqlock, | ||
| 33 | enum v4l2_buf_type type, | ||
| 34 | enum v4l2_field field, | ||
| 35 | unsigned int msize, | ||
| 36 | void *priv, | ||
| 37 | struct mutex *ext_lock); | ||
| 38 | |||
| 29 | dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf); | 39 | dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf); |
| 30 | void videobuf_dma_contig_free(struct videobuf_queue *q, | 40 | void videobuf_dma_contig_free(struct videobuf_queue *q, |
| 31 | struct videobuf_buffer *buf); | 41 | struct videobuf_buffer *buf); |
