{"id":22439,"url":"https://patchwork.libcamera.org/api/1.1/patches/22439/?format=json","web_url":"https://patchwork.libcamera.org/patch/22439/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20241220162601.755377-1-stefan.klug@ideasonboard.com>","date":"2024-12-20T16:25:28","name":"utils: gen-debug-controls: Output direction flag","commit_ref":"fa2e8621f5d02b225b2b2d900a0d54df25cec5ac","pull_url":null,"state":"accepted","archived":false,"hash":"122fe55b39d9a0ed9fc5c14f2be4c5e4474f25c8","submitter":{"id":184,"url":"https://patchwork.libcamera.org/api/1.1/people/184/?format=json","name":"Stefan Klug","email":"stefan.klug@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/22439/mbox/","series":[{"id":4924,"url":"https://patchwork.libcamera.org/api/1.1/series/4924/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4924","date":"2024-12-20T16:25:28","name":"utils: gen-debug-controls: Output direction flag","version":1,"mbox":"https://patchwork.libcamera.org/series/4924/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/22439/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/22439/checks/","tags":{},"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 20CE8C327D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 20 Dec 2024 16:26:11 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1D1D5684AE;\n\tFri, 20 Dec 2024 17:26:10 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 08BD76808F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Dec 2024 17:26:07 +0100 (CET)","from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:4eeb:7fa7:1fd0:c13d])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 60572B2B;\n\tFri, 20 Dec 2024 17:25:28 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"bnAHzkTs\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1734711928;\n\tbh=r4f4CBVZDZgJ4wpCGnhDa/Ny8CmcZ8z8C/8Qer6d9xw=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=bnAHzkTseAxPS7XRMjYGiZcZ2Vlt9m6ljUcqo/Y3gBieffSrzTuqlaky0cXxK7qi2\n\toVh7VCzl+AsJe+7kBibqdMsl+/WJFUyUNtEwEFLpDcYexMus2Hz34hybyGVoeqh3Ax\n\tnXpY0ySVjNo5c59Tlp2OyPNsGg+Zej8t7cNDgkig=","From":"Stefan Klug <stefan.klug@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Stefan Klug <stefan.klug@ideasonboard.com>","Subject":"[PATCH] utils: gen-debug-controls: Output direction flag","Date":"Fri, 20 Dec 2024 17:25:28 +0100","Message-ID":"<20241220162601.755377-1-stefan.klug@ideasonboard.com>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The yaml definitions for controls now require a direction attribute\nwhich is not auto generated by gen-debug-controls.py. Fix that.\n\nSigned-off-by: Stefan Klug <stefan.klug@ideasonboard.com>\n---\n utils/gen-debug-controls.py | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/utils/gen-debug-controls.py b/utils/gen-debug-controls.py\nindex 025850731c0b..272597f4874f 100755\n--- a/utils/gen-debug-controls.py\n+++ b/utils/gen-debug-controls.py\n@@ -106,6 +106,7 @@ def main(argv):\n \n         p = m.file.relative_to(root_dir)\n         desc = {'type': m.type,\n+                'direction': 'out',\n                 'description': f'Debug control {m.name} found in {p}:{m.line}'}\n         if m.size is not None:\n             desc['size'] = m.size\n","prefixes":[]}