diff options
Diffstat (limited to 'drivers/media/platform/ti-vps/vip.h')
-rw-r--r-- | drivers/media/platform/ti-vps/vip.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/platform/ti-vps/vip.h b/drivers/media/platform/ti-vps/vip.h index 8ff8d337e99..1b41164f788 100644 --- a/drivers/media/platform/ti-vps/vip.h +++ b/drivers/media/platform/ti-vps/vip.h | |||
@@ -38,7 +38,11 @@ struct vip_buffer { | |||
38 | /* common v4l buffer stuff */ | 38 | /* common v4l buffer stuff */ |
39 | struct vb2_buffer vb; | 39 | struct vb2_buffer vb; |
40 | struct list_head list; | 40 | struct list_head list; |
41 | bool drop; | 41 | struct list_head dq_list; |
42 | /* Number of buffers to drop after this */ | ||
43 | int drop_count; | ||
44 | /* To make sure same buffer isn't dequeued again */ | ||
45 | bool allow_dq; | ||
42 | }; | 46 | }; |
43 | 47 | ||
44 | /* | 48 | /* |
@@ -89,6 +93,7 @@ struct vip_dev { | |||
89 | void __iomem *base; | 93 | void __iomem *base; |
90 | 94 | ||
91 | struct vpdma_desc_list desc_list; /* DMA descriptor list */ | 95 | struct vpdma_desc_list desc_list; /* DMA descriptor list */ |
96 | struct vpdma_dtd *write_desc; | ||
92 | void *desc_next; /* next unused desc_list addr */ | 97 | void *desc_next; /* next unused desc_list addr */ |
93 | struct list_head vip_bufs; /* vip_bufs to be DMAed */ | 98 | struct list_head vip_bufs; /* vip_bufs to be DMAed */ |
94 | struct vb2_alloc_ctx *alloc_ctx; | 99 | struct vb2_alloc_ctx *alloc_ctx; |