aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2023-04-18 10:00:48 +0200
committerHans Verkuil <[email protected]>2023-05-25 13:04:48 +0200
commit3bc46d752eab89ff2ddbd49cba931cf49d9c5dfb (patch)
tree048bb99cf8277bcdd4f83acab4e3db98601a775d /tools/perf/scripts/python
parentaabec712ce0e5ca2e47904dbc4326de614dc0bbf (diff)
staging: media: tegra-video: move MIPI calibration calls from VI to CSI
The CSI module does not handle all the MIPI lane calibration procedure, leaving a small part of it to the VI module. In doing this, tegra_channel_enable_stream() (vi.c) manipulates the private data of the upstream subdev casting it to struct 'tegra_csi_channel', which will be wrong after introducing a VIP (parallel video input) channel. This prevents adding support for the VIP module. It also breaks the logical isolation between modules. Since the lane calibration requirement does not exist in the parallel input module, moving the calibration function to a per-module op is not optimal. Instead move the calibration procedure in the CSI module, together with the rest of the calibration procedures. After this change, tegra_channel_enable_stream() just calls v4l2_subdev_call() to ask for a stream start/stop to the CSI module, which in turn knows all the CSI-specific details to implement it. Signed-off-by: Luca Ceresoli <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions