diff options
| author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2026-06-27 15:42:01 +0200 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-07-30 20:51:13 +0300 |
| commit | cad05a2e235972aab82bcc5f4eb47e9176418a88 (patch) | |
| tree | 5ea7fdf5b5b1b9537e3126b7e4023c0da7701603 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7041b0ebf178b03d1182c7a73c21e9adcb8deb6a (diff) | |
media: v4l2-isp: Add per-block validation callback
Drivers are expected to provide to the helper function
v4l2_isp_params_validate_buffer() a list of 'struct
v4l2_isp_params_block_type_info' entries, one for each supported ISP block.
The type 'struct v4l2_isp_params_block_type_info' so far only contained the
expected block size for the core framework to validate the declared block
size against the expected one.
For some blocks, drivers might want to implement more precise per-block
validations. Add a function pointer member to 'struct
v4l2_isp_params_block_type_info' to allow drivers to register a callback
and call it from the core framework during validation.
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
