[media] v4l: vsp1: dl: Add support for multi-body display lists
[deliverable/linux.git] / drivers / media / platform / vsp1 / vsp1_dl.h
index 571ed6d8e7c2dd02ed180b1b41b208830e887aea..de387cd4d745e5c627c06466f34d99551b7b601f 100644 (file)
@@ -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__ */
This page took 0.025599 seconds and 5 git commands to generate.