summaryrefslogtreecommitdiff
path: root/drivers/media/video/davinci/vpif_capture.h
diff options
context:
space:
mode:
authorManjunath Hadli <manjunath.hadli@ti.com>2012-04-13 04:49:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 19:04:32 -0300
commit764af39aa415c9418f035d2a4bd606d7a7814a68 (patch)
tree54d38fa2aa8569a924b1289a7f631e540a65be60 /drivers/media/video/davinci/vpif_capture.h
parentfc613d44e08a9f0986e493e2605132161b5b39a5 (diff)
downloadlinux-3.10-764af39aa415c9418f035d2a4bd606d7a7814a68.tar.gz
linux-3.10-764af39aa415c9418f035d2a4bd606d7a7814a68.tar.bz2
linux-3.10-764af39aa415c9418f035d2a4bd606d7a7814a68.zip
[media] davinci: vpif capture: size up the memory for the buffers from the buffer pool
Size up the memory for the buffers from the buffer pool allocated in board file. Then adjust the reqbuf count depending the available memory. Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/davinci/vpif_capture.h')
-rw-r--r--drivers/media/video/davinci/vpif_capture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/davinci/vpif_capture.h b/drivers/media/video/davinci/vpif_capture.h
index a693d4ebda5..8095910f02c 100644
--- a/drivers/media/video/davinci/vpif_capture.h
+++ b/drivers/media/video/davinci/vpif_capture.h
@@ -151,6 +151,7 @@ struct vpif_config_params {
u32 min_bufsize[VPIF_CAPTURE_NUM_CHANNELS];
u32 channel_bufsize[VPIF_CAPTURE_NUM_CHANNELS];
u8 default_device[VPIF_CAPTURE_NUM_CHANNELS];
+ u32 video_limit[VPIF_CAPTURE_NUM_CHANNELS];
u8 max_device_type;
};
/* Struct which keeps track of the line numbers for the sliced vbi service */