Show a patch.

GET /api/1.1/patches/19239/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 19239,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/19239/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19239/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20231124123713.22519-7-naush@raspberrypi.com>",
    "date": "2023-11-24T12:37:12",
    "name": "[libcamera-devel,v3,6/7] build: controls: Add Raspberry Pi vendor specific controls",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "924a9e52e1dfa305428b081277ad5d1701fef508",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/19239/mbox/",
    "series": [
        {
            "id": 4084,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4084/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4084",
            "date": "2023-11-24T12:37:06",
            "name": "Vendor controls and properties",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/4084/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19239/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19239/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 AC9A4C3220\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Nov 2023 12:37:26 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 490F4629BD;\n\tFri, 24 Nov 2023 13:37:26 +0100 (CET)",
            "from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com\n\t[IPv6:2a00:1450:4864:20::12e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3A0C7629C4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Nov 2023 13:37:23 +0100 (CET)",
            "by mail-lf1-x12e.google.com with SMTP id\n\t2adb3069b0e04-50aab3bf71fso2436383e87.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Nov 2023 04:37:23 -0800 (PST)",
            "from localhost.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tv11-20020a05600c444b00b0040b3867a297sm3303690wmn.36.2023.11.24.04.37.21\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Nov 2023 04:37:21 -0800 (PST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1700829446;\n\tbh=PHoOqQl1mU4rhGKOBZngIm5Cx+qXd9P3flwWMQ8qsvI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=UyqJ3/rnpg4Qpn8RkJQUMsCuBQV1c/H60KWkyPmbgIxHd1rq52ISr70byt28HtJy7\n\t5XGl3+9ykTBePGBIozhWZE/T2sxJ8ZpmwwoMkZAw+/Zkcqsr7lGP9PGoUkz/NkFfDn\n\tNDzCgvtzN8FfA74CRN/DJrHQexo3G+8Me6NUObs3+Auu98H0ypyhCTwhh9QOtAKxAi\n\ti24C96sbIZNdRvgBELJBfRrrWPiYMLWeAJck+a0HR9BT7F9JMIeQxz345+eYaE6TiP\n\tmGed+aadA2xs15qmrNl42xSRUKOk1n2XCCNsKBT5PrfG31uewuzRGyPNgjuAcGGXFI\n\tXNDPO+eLgxM6A==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1700829442; x=1701434242;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=5/UqwsW17Z81IVQJGqi2TT0SHMcji1M3CcEtztOhSqI=;\n\tb=iqkuKDGUtn8ES2+P7gzqJ/MSjsOiNhqz8vegnGcG/YUl7Yqb7vGi+rUAL0JO37IKkH\n\tVL8Sj43+FbRTIctBgkVKTU5XgbtIuZ8duw42SGbgUB9tvS6QaLUppJxxNkRLQNtDHLjJ\n\tm+XWW/SWjBR7VKhATgMpr8SysW7XVNexEPZBpqf7NFpAEWu3CuPiqf4Cxwq/JcG4BQd3\n\tkekIrp8T671u8/Hfx/qrvi/zyJbJOapzEjiU6FP5zLA2d/jv27UC6EZS1yoN8H92g5Un\n\tCJz91U90MB6c4l1xFOcCRUPDqyfv5oTH6HHpSds9Blk4x34ws/1WIPbc8ecEXVHsiMvA\n\t0afw=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"iqkuKDGU\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1700829442; x=1701434242;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=5/UqwsW17Z81IVQJGqi2TT0SHMcji1M3CcEtztOhSqI=;\n\tb=S817Xr97n96pTy2cVcBZPj/SkGHxL3OFLt1S+51VcaCJPVvSCNibqX2VI0HnkbWfLy\n\tz4f1FOEIiZJ7BUwxeLSlDnsd3I3i0yfTVXLrgRHZgPMwXioGgnB06tt9/Oe2F/ldEnwn\n\tfWQPBrou2RZ8SpXM8K/gHCTaEKiVBhAim36dGbe9z5n5OW8B1Aohkj4BqRzQC9nvJsYQ\n\tKU7rK/UKvNKtSw0oNSfqfRac6xPsfbqqPu6fYe0JbKpzm2tuBaewJjQ4M2vecyUfFj6Y\n\t/JMvJNRQON3PA0aKAi9qI1GbqZX8KasleVe3QTO9uUzHT52iuMhhIjFL7Nr/XwnDXBjb\n\tAFiw==",
        "X-Gm-Message-State": "AOJu0YxyOKfJ6Jiasv3xKNjj6Q9LX+I98Uz2Q/JfgEmHq4QvyhN+35IR\n\tSnnJV3l/xBCWUigXAQNX+Oa5UQaVIjuTPd67HKIRSA==",
        "X-Google-Smtp-Source": "AGHT+IHx9D7nhVs3WNZR6kF8nHwDE9d6iiNQUXUm5hNzPr63QKv3MWlHppNscyvM6zHqg5ZjT6NuXg==",
        "X-Received": "by 2002:a05:6512:33cf:b0:503:1783:d5a9 with SMTP id\n\td15-20020a05651233cf00b005031783d5a9mr2476765lfg.3.1700829442161; \n\tFri, 24 Nov 2023 04:37:22 -0800 (PST)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 24 Nov 2023 12:37:12 +0000",
        "Message-Id": "<20231124123713.22519-7-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20231124123713.22519-1-naush@raspberrypi.com>",
        "References": "<20231124123713.22519-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 6/7] build: controls: Add Raspberry Pi\n\tvendor specific controls",
        "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>",
        "From": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Naushir Patuck <naush@raspberrypi.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Add a new control_ids_rpi.yaml file to hold the Raspberry Pi specific\nvendor controls. This contains a single control PispConfigDumpFile that\nwill be used in the Pi 5 pipeline handler as a trigger to dump the\nBackend configuration as a JSON file.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n include/libcamera/meson.build      |  2 ++\n src/libcamera/control_ids_rpi.yaml | 17 +++++++++++++++++\n 2 files changed, 19 insertions(+)\n create mode 100644 src/libcamera/control_ids_rpi.yaml",
    "diff": "diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build\nindex 1504f741ae2f..5d20e4d869e3 100644\n--- a/include/libcamera/meson.build\n+++ b/include/libcamera/meson.build\n@@ -36,6 +36,8 @@ controls_map = {\n     'controls': {\n         'draft': 'control_ids_draft.yaml',\n         'core': 'control_ids_core.yaml',\n+        'rpi/pisp': 'control_ids_rpi.yaml',\n+        'rpi/vc4': 'control_ids_rpi.yaml',\n     },\n \n     'properties': {\ndiff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml\nnew file mode 100644\nindex 000000000000..abf82098eb12\n--- /dev/null\n+++ b/src/libcamera/control_ids_rpi.yaml\n@@ -0,0 +1,17 @@\n+# SPDX-License-Identifier: LGPL-2.1-or-later\n+#\n+# Copyright (C) 2023, Raspberry Pi Ltd\n+#\n+%YAML 1.1\n+---\n+# Raspberry Pi (VC4 and PiSP) specific vendor controls\n+vendor: rpi\n+controls:\n+  - PispConfigDumpFile:\n+      type: string\n+      description: |\n+        Triggers the Raspberry Pi PiSP pipeline handler to generate a JSON\n+        formatted dump of the Backend configuration to the filename given by the\n+        value of the control.\n+\n+...\n\\ No newline at end of file\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "6/7"
    ]
}