forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/media/platform/vsp1/vsp1_dl.h
....@@ -17,8 +17,10 @@
1717 struct vsp1_dl_list;
1818 struct vsp1_dl_manager;
1919
20
+/* Keep these flags in sync with VSP1_DU_STATUS_* in include/media/vsp1.h. */
2021 #define VSP1_DL_FRAME_END_COMPLETED BIT(0)
21
-#define VSP1_DL_FRAME_END_INTERNAL BIT(1)
22
+#define VSP1_DL_FRAME_END_WRITEBACK BIT(1)
23
+#define VSP1_DL_FRAME_END_INTERNAL BIT(2)
2224
2325 /**
2426 * struct vsp1_dl_ext_cmd - Extended Display command
....@@ -61,7 +63,7 @@
6163 void vsp1_dl_list_put(struct vsp1_dl_list *dl);
6264 struct vsp1_dl_body *vsp1_dl_list_get_body0(struct vsp1_dl_list *dl);
6365 struct vsp1_dl_ext_cmd *vsp1_dl_get_pre_cmd(struct vsp1_dl_list *dl);
64
-void vsp1_dl_list_commit(struct vsp1_dl_list *dl, bool internal);
66
+void vsp1_dl_list_commit(struct vsp1_dl_list *dl, unsigned int dl_flags);
6567
6668 struct vsp1_dl_body_pool *
6769 vsp1_dl_body_pool_create(struct vsp1_device *vsp1, unsigned int num_bodies,