diff options
author | Laurent Pinchart <[email protected]> | 2023-01-26 03:10:01 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-10-12 09:46:37 +0200 |
commit | 2cce0a369dbdb59d806f9c0c3599ff74a864c0f4 (patch) | |
tree | 6c5dee307e36e19f668deb36a5e8126fbd4bcada /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 88f870f6ecc410b4de6d75c1e1b82c3ad38a3a39 (diff) |
media: rkisp1: isp: Use V4L2 subdev active state
Use the V4L2 subdev active state API to store the active format and crop
rectangle. This simplifies the driver not only by dropping the state
stored in the rkisp1_isp structure, but also by replacing the ops_lock
with the state lock.
The rkisp1_isp.sink_fmt field needs to be kept, as it is accessed from
the stats interrupt handler. To simplify the rkisp1_isp_set_sink_fmt()
implementation, the field is now set when starting the ISP, instead of
when setting the format.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions