summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vsp1/vsp1_dl.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-03-03 13:36:34 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 19:13:23 -0300
commitf81e83c418b0d59c036e071e11a7c143bc507781 (patch)
treeec28b80f57f56051e19a797a7df2c6f86758fe7c /drivers/media/platform/vsp1/vsp1_dl.h
parentd2c1b028db2e0b153f1aff28e3010a494c8aadc1 (diff)
[media] v4l: vsp1: dl: Add support for multi-body display lists
Display lists support up to 8 bodies but we currently use a single one. To support preparing display lists for large look-up tables, add support for multi-body display lists. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_dl.h')
-rw-r--r--drivers/media/platform/vsp1/vsp1_dl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_dl.h b/drivers/media/platform/vsp1/vsp1_dl.h
index 571ed6d8e7c2..de387cd4d745 100644
--- a/drivers/media/platform/vsp1/vsp1_dl.h
+++ b/drivers/media/platform/vsp1/vsp1_dl.h
@@ -16,6 +16,7 @@
#include <linux/types.h>
struct vsp1_device;
+struct vsp1_dl_fragment;
struct vsp1_dl_list;
struct vsp1_dl_manager;
@@ -34,4 +35,11 @@ void vsp1_dl_list_put(struct vsp1_dl_list *dl);
void vsp1_dl_list_write(struct vsp1_dl_list *dl, u32 reg, u32 data);
void vsp1_dl_list_commit(struct vsp1_dl_list *dl);
+struct vsp1_dl_body *vsp1_dl_fragment_alloc(struct vsp1_device *vsp1,
+ unsigned int num_entries);
+void vsp1_dl_fragment_free(struct vsp1_dl_body *dlb);
+void vsp1_dl_fragment_write(struct vsp1_dl_body *dlb, u32 reg, u32 data);
+int vsp1_dl_list_add_fragment(struct vsp1_dl_list *dl,
+ struct vsp1_dl_body *dlb);
+
#endif /* __VSP1_DL_H__ */