aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-driver.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-19 11:25:39 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:05:46 -0400
commit0989fd2c88a11aa5014b2b348ed51872d14d536d (patch)
treeb01ba5de69e17fcf408ce597af966e4f0949e7c4 /drivers/media/video/ivtv/ivtv-driver.h
parent3869c6a088c2eb165abe476c3372c6a3653649b3 (diff)
V4L/DVB (6058): ivtv: add support for highmem udma
When trying to DMA userspace buffers to the cx23415 you need to check whether the page is in highmem. If this is the case, then bounce buffers have to be used to allow DMA. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.h')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h
index 93a008409f49..784098d4bf04 100644
--- a/drivers/media/video/ivtv/ivtv-driver.h
+++ b/drivers/media/video/ivtv/ivtv-driver.h
@@ -419,6 +419,8 @@ struct ivtv_user_dma {
419 struct mutex lock; 419 struct mutex lock;
420 int page_count; 420 int page_count;
421 struct page *map[IVTV_DMA_SG_OSD_ENT]; 421 struct page *map[IVTV_DMA_SG_OSD_ENT];
422 /* Needed when dealing with highmem userspace buffers */
423 struct page *bouncemap[IVTV_DMA_SG_OSD_ENT];
422 424
423 /* Base Dev SG Array for cx23415/6 */ 425 /* Base Dev SG Array for cx23415/6 */
424 struct ivtv_sg_element SGarray[IVTV_DMA_SG_OSD_ENT]; 426 struct ivtv_sg_element SGarray[IVTV_DMA_SG_OSD_ENT];