hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/platform/vsp1/vsp1_entity.h
....@@ -67,7 +67,9 @@
6767 * struct vsp1_entity_operations - Entity operations
6868 * @destroy: Destroy the entity.
6969 * @configure_stream: Setup the hardware parameters for the stream which do
70
- * not vary between frames (pipeline, formats).
70
+ * not vary between frames (pipeline, formats). Note that
71
+ * the vsp1_dl_list argument is only valid for display
72
+ * pipeline and will be NULL for mem-to-mem pipelines.
7173 * @configure_frame: Configure the runtime parameters for each frame.
7274 * @configure_partition: Configure partition specific parameters.
7375 * @max_width: Return the max supported width of data that the entity can
....@@ -78,7 +80,7 @@
7880 struct vsp1_entity_operations {
7981 void (*destroy)(struct vsp1_entity *);
8082 void (*configure_stream)(struct vsp1_entity *, struct vsp1_pipeline *,
81
- struct vsp1_dl_body *);
83
+ struct vsp1_dl_list *, struct vsp1_dl_body *);
8284 void (*configure_frame)(struct vsp1_entity *, struct vsp1_pipeline *,
8385 struct vsp1_dl_list *, struct vsp1_dl_body *);
8486 void (*configure_partition)(struct vsp1_entity *,
....@@ -155,6 +157,7 @@
155157
156158 void vsp1_entity_configure_stream(struct vsp1_entity *entity,
157159 struct vsp1_pipeline *pipe,
160
+ struct vsp1_dl_list *dl,
158161 struct vsp1_dl_body *dlb);
159162
160163 void vsp1_entity_configure_frame(struct vsp1_entity *entity,