{"id":11206,"url":"https://patchwork.libcamera.org/api/covers/11206/?format=json","web_url":"https://patchwork.libcamera.org/cover/11206/","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":"<20210210111743.14374-1-david.plowman@raspberrypi.com>","date":"2021-02-10T11:17:41","name":"[libcamera-devel,0/2] Raspberry Pi AWB race condition and maintenance","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/11206/mbox/","series":[{"id":1673,"url":"https://patchwork.libcamera.org/api/series/1673/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1673","date":"2021-02-10T11:17:41","name":"Raspberry Pi AWB race condition and maintenance","version":1,"mbox":"https://patchwork.libcamera.org/series/1673/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11206/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 1DB5EBD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 10 Feb 2021 11:17:50 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6D9E26162A;\n\tWed, 10 Feb 2021 12:17:49 +0100 (CET)","from mail-ed1-x534.google.com (mail-ed1-x534.google.com\n\t[IPv6:2a00:1450:4864:20::534])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5C703602FE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 10 Feb 2021 12:17:48 +0100 (CET)","by mail-ed1-x534.google.com with SMTP id df22so2498338edb.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 10 Feb 2021 03:17:48 -0800 (PST)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tdt17sm892659ejb.70.2021.02.10.03.17.46\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 10 Feb 2021 03:17:47 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"kY1yg+c4\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=59DlWgZCm6Y29OEG2yLUZWG39HVBLJ4AkFpWrJlhEto=;\n\tb=kY1yg+c4xLbDeGM6b7iLU+4/o6Y5EYo00d0Q79PJG2+h9V2U+KwVz0TtSwz25vbKpC\n\tWqXoYzx3Aj3tHtyqwrxLXBPU84dEbQ8mea6K9k8Lt/BmFHa4alcgWNjz3t160lllis5G\n\t8OHWuNs/4S1iZOuUkPolSfzsYS5GZT9hIHlKKugTOIwdWRIv8lvkekNleSsTumcP6N+A\n\tjf/J+3Gh2CsIGOG5ZTiZblQpxh1JYm/WZOq2eS7jv2F8qM9H35KA1xs+EcFiWJs0d7gk\n\t9E6JLG6PkHzg6mD4P6xpPXTaSVwUwpmCpnAiwztEG72uy5ggvjaJ3Na1UDRi/vH1CKY1\n\tPHqw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=59DlWgZCm6Y29OEG2yLUZWG39HVBLJ4AkFpWrJlhEto=;\n\tb=HeRfaN2STrf72/CpIuB7b5la/Nfj6tf1BiNU7TRjcZlT6DBM9R3CZByzKT6yZv7FKu\n\tJgTf7TsH0L36tVRO78UyI++iTFmdstoU/2gYn51+QsHrTl8k1tG0JmNharQS1m9u1EnI\n\thzCuR/JiaY/LIWw5vHLPwONpP+vd3eLWtvS46qdErceEeREP84MKuRseUIBx6BHxeHww\n\twZr64IOwkXtIUkTk9vKWEZagszgN5saoJUNRCyvImFgxXJK55yY1ISnztIveMVZDYfIV\n\toVPqppu8wTXGKTr3MvHpcbFhDy4RIZW89Ij40E0TCzFM+JyzpSqTqb4asXw5c+2/Vm85\n\t4X+w==","X-Gm-Message-State":"AOAM533xrVX1ijjTzR0rHOjaox8kq/zAk9MTo7ioXZR9p7QtvrUTXsR+\n\te7z4gFC8qEY34+I2JxWTUd5KQ23kOiqRiVwS","X-Google-Smtp-Source":"ABdhPJyQYagkw54re3S6Hc3mQocs8qCODXJwpJTCO1iVnl5XfxnSF0aSiK37ZO4wY13XubYJ5ESEAw==","X-Received":"by 2002:aa7:c685:: with SMTP id n5mr2791851edq.150.1612955867706;\n\tWed, 10 Feb 2021 03:17:47 -0800 (PST)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 10 Feb 2021 11:17:41 +0000","Message-Id":"<20210210111743.14374-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/2] Raspberry Pi AWB race condition and\n\tmaintenance","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":"Hi everyone\n\nReally I just wanted to fix the race condition that Laurent pointed\nout a few days ago, but as I looked through the code I also felt I\nshould remove another unnecessary variable which was just a hangover\nfrom a previous time.\n\nHopefully this is the last set of small-ish AWB fix-ups for now!\n\nThanks\nDavid\n\n\nDavid Plowman (2):\n  ipa: raspberrypi: AWB: Remove unecessary frame count variable\n  ipa: raspberrypi: AWB: Fix race condition setting manual gains\n\n src/ipa/raspberrypi/controller/rpi/awb.cpp | 82 ++++++++++------------\n src/ipa/raspberrypi/controller/rpi/awb.hpp |  1 -\n 2 files changed, 38 insertions(+), 45 deletions(-)"}