summaryrefslogtreecommitdiff
path: root/test/controls
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2020-11-24 17:59:34 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-11-26 10:31:15 +0000
commitc286b00aa1eb9331c3bab2b35905dcf2e4ccde66 (patch)
tree30c79ff8934ec51551d59e3bd96cb32f5f994e0b /test/controls
parent770df5ca4eab84ec1d8a683d1ace04d7d00001c6 (diff)
pipeline: raspberrypi: Fix erroneous bayer buffer requeue on buffer matching
With the recent change in the bayer/embedded buffer matching code, a condition would make the bayer buffer be requeued back to the device, even though it could potentially be queued for matching. This would cause unnecessary frame drops as sync would be lost. The fix is to ensure the bayer buffer only gets requeued if the embedded data buffer queue is not empty, i.e. the buffer truly is orphaned. Additionally, we do this test before deciding to flush any of the two queues of all their buffers. Fixes: 909882b (pipeline: raspberrypi: Rework bayer/embedded data buffer matching) Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/controls')
0 files changed, 0 insertions, 0 deletions