summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/buffer_cache.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2022-09-30 20:08:21 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-03 03:58:34 +0300
commit351abecdb9a5c0423bddaf507c48b3129adcd0a0 (patch)
tree958f8eff350a3667394d2743b741e794a1dc2e22 /test/v4l2_videodevice/buffer_cache.cpp
parent79f0fc937d95cbf1bd39f04dfd8b83206bda5098 (diff)
ipa: ipu3: Correct context during configure()
The introduction of the FCQueue in the IPU3 inadvertently introduced a bug which cleared the initialisation of the session configuration immediately after some parameters had been set. Furthermore, it cleared and never re-initialised the sensor line duration property, which was previously only set during the call to init(). Move the clearing of the contexts from the updateSessionConfiguration() call to the earliest opportunity in configure(), and immediately re-initialise the sensor parameters. Bug: https://bugs.libcamera.org/show_bug.cgi?id=151 Fixes: 85c5c47325ab ("ipa: ipu3: Use the FCQueue") Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions