{"id":11694,"url":"https://patchwork.libcamera.org/api/covers/11694/?format=json","web_url":"https://patchwork.libcamera.org/cover/11694/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210324150125.1318325-1-kieran.bingham@ideasonboard.com>","date":"2021-03-24T15:01:19","name":"[libcamera-devel,v3,0/6] IPU3 Stability","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/11694/mbox/","series":[{"id":1828,"url":"https://patchwork.libcamera.org/api/series/1828/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1828","date":"2021-03-24T15:01:19","name":"IPU3 Stability","version":3,"mbox":"https://patchwork.libcamera.org/series/1828/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11694/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 2F7C0C32E5\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 24 Mar 2021 15:01:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1CA4868D6C;\n\tWed, 24 Mar 2021 16:01:33 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F37A5602E3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 24 Mar 2021 16:01:30 +0100 (CET)","from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net\n\t[86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id E989A580;\n\tWed, 24 Mar 2021 16:01:29 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"KLg6KWkS\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1616598090;\n\tbh=cgTKT3OuEpwiBKvIO92ouC6/3zQIKx28btdykUTBBMw=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=KLg6KWkSXEZrjUkOIpuCz5wUJKyCCJnhqH65Oqfjn4ixmNkWBmct3u0d7BPnD4ftW\n\tuHsGtRV2U260cIz8FV2vFXOYlYYmBDEEzwpqoxks+2F77DTCUlIzgecrKJKdIbonI4\n\t6ca8P7S/9eficEcxn4iRF8LKSASoKZwODfif4Qr4=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed, 24 Mar 2021 15:01:19 +0000","Message-Id":"<20210324150125.1318325-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v3 0/6] IPU3 Stability","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"A reduced set of patches from the previous iteration of the IPU3\nStability developments.\n\n\nPatches [1/6] and [2/6] are split from a test patch provided to me by\nLaurent, where I have added the commit messages.\n\nThese ensure that messages sent by the IPA are handled correctly and do\nnot race at stop() time\n\nPatch [3/6] was identified by valgrind and fixes an issue related to\nuninitialised accesses on the buffers. It has been reworked since v2.\n\nPatch [4/6] fixes the ordering of stopping the IPA and video devices,\nwith [5/6] fixing an issue which previously completed requests (and\nassociated frame info) before all buffers had completed.\n\nFinally patch [6/6] moves an asynchronous callback out of the\nsynchronous configure() call, and into start(). This is not expected to\nbe a substantial change in functionality currently, but should be\nconsidered in follow on developments with the IPA.\n\nKieran Bingham (4):\n  libcamera: buffer: Initialise status\n  libcamera: pipeline: ipu3: Stop IPA before stopping devices\n  libcamera: pipeline: ipu3: Do not mark metadata complete early\n  ipa: ipu3: Do not set controls during configure\n\nLaurent Pinchart (2):\n  utils: ipc: proxy: Assert asynchronous calls execute in the running\n    state\n  utils: ipc: proxy: Process pending messages\n\n include/libcamera/buffer.h                            |  2 +-\n src/ipa/ipu3/ipu3.cpp                                 | 11 ++++++++---\n src/libcamera/pipeline/ipu3/ipu3.cpp                  |  7 ++-----\n src/libcamera/request.cpp                             |  9 +++++++--\n .../libcamera_templates/module_ipa_proxy.cpp.tmpl     |  2 ++\n .../libcamera_templates/proxy_functions.tmpl          |  6 ++++--\n 6 files changed, 24 insertions(+), 13 deletions(-)"}