diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-01-18 13:57:55 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-01-29 15:35:28 +0100 |
commit | 3809fd77463f8f9f30d8da56fc3b103c683fba72 (patch) | |
tree | 0a755d6f581c4631331596c744728d81e50a91c8 /utils/ipu3/ipu3-unpack.c | |
parent | 2b57d712a28674eb03ce1e1549b90c7d59eccc6c (diff) |
libcamera: pipeline: rkisp1: Avoid race when processing parameter buffers
When moving the pipeline away from the Timeline design it was discovered
that the design of queuing the buffers to the device as soon as possible
was not the best idea. The parameter buffers were queued to the device
before the IPA had processed them and this violates the V4L2 API.
Fix this by waiting to queue any buffer to the device until the IPA has
filled in the parameters buffer.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/ipu3/ipu3-unpack.c')
0 files changed, 0 insertions, 0 deletions