diff options
author | Laurent Pinchart <[email protected]> | 2023-12-13 17:00:04 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-12-13 16:52:35 +0100 |
commit | 287fe160834acdf9c44e5b73676180c6dbdedf76 (patch) | |
tree | 46b10e2d8c2aecd1c7d6240e4c82baceeeb6d823 /tools/perf/scripts/python/libxed.py | |
parent | 08e5c36410ca5cb14237e47e6dfe3fde02e0f275 (diff) |
media: v4l2-subdev: Turn .[gs]_frame_interval into pad operations
The subdev .[gs]_frame_interval are video operations, but they operate
on pads (and even on streams). Not only is this confusing, it causes
practical issues for drivers as the operations don't receive a subdev
state pointer, requiring manual state handling.
To improve the situation, turn the operations into pad operations, and
extend them to receive a state pointer like other pad operations.
While at it, rename the operations to .[gs]et_frame_interval at the same
time to match the naming scheme of other pad operations. This isn't
strictly necessary, but given that all drivers using those operations
need to be modified, handling the rename separately would generate more
churn for very little gain (if at all).
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]> # for imx-media
Reviewed-by: Luca Ceresoli <[email protected]> # for tegra-video
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions