diff options
| author | Pratyush Yadav <[email protected]> | 2023-10-09 18:39:31 +0530 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-12 09:22:28 +0200 |
| commit | dbca7b3c412b86e2684542467f2565b52e2f0cb3 (patch) | |
| tree | d4cbae9b9c5f1abcd4ac3f4b449ccb50e9b13737 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | aee5b415c95aa913aa9222bbe13c817c7e67ec85 (diff) | |
media: cadence: csi2rx: Add get_fmt and set_fmt pad ops
The format is needed to calculate the link speed for the external DPHY
configuration. It is not right to query the format from the source
subdev. Add get_fmt and set_fmt pad operations so that the format can be
configured and correct bpp be selected.
Initialize and use the v4l2 subdev active state to keep track of the
active formats. Also propagate the new format from the sink pad to all
the source pads.
Signed-off-by: Pratyush Yadav <[email protected]>
Tested-by: Julien Massot <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
Co-developed-by: Jai Luthra <[email protected]>
Signed-off-by: Jai Luthra <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions