aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2024-06-17 18:11:27 +0200
committerLaurent Pinchart <[email protected]>2024-06-19 19:42:57 +0300
commita399b36ec83b2b1390f15d493fbd0db2ff467985 (patch)
treec3d2ebea392000275e2d9eca0fda453989c75d74 /tools/perf/scripts/python/sched-migration.py
parentf6d64d0d2897ed4e85ac00afe43e45c8b8fc0c44 (diff)
media: rcar-csi2: Use the subdev active state
Create the subdevice state with v4l2_subdev_init_finalize() and implement the init_state() operation to guarantee the state is initialized. Store the current image format in the subdev active state and remove it from the driver private structure. To guarantee the same image format is applied to all source pads, propagate the format from the sink pad to the sources, disallowing changing format on a source pad. To support both gen3 and gen4, which feature a different number of source pads, introduce an helper function to return the correct number of pads. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Tested-by: Niklas Söderlund <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions