Show a patch.

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

{
    "id": 18741,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/18741/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/18741/",
    "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": "<20230615172608.378258-5-kieran.bingham@ideasonboard.com>",
    "date": "2023-06-15T17:26:07",
    "name": "[libcamera-devel,v4,4/5] libcamera: properties: Provide a Devices camera property",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ea7e46932666e09678cb5e40c4b4d2ea9ddabef3",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/18741/mbox/",
    "series": [
        {
            "id": 3925,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3925/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3925",
            "date": "2023-06-15T17:26:03",
            "name": "libcamera: Add new Camera devices property",
            "version": 4,
            "mbox": "https://patchwork.libcamera.org/series/3925/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/18741/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/18741/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 CAAB7C32AA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 15 Jun 2023 17:26:21 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1248F628C2;\n\tThu, 15 Jun 2023 19:26:21 +0200 (CEST)",
            "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 1E351628B5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 15 Jun 2023 19:26:17 +0200 (CEST)",
            "from Monstersaurus.local\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 74C58DA8;\n\tThu, 15 Jun 2023 19:25:45 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1686849981;\n\tbh=0R5YKzYC5n93O77+U5+2ee2mRlkQTCDfBakiwliYpfs=;\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:Cc:\n\tFrom;\n\tb=lmpvMS1kRWf3c7Ezbm6il4ztFwlGiTMW1x2xVn+00RFCIPCGnsStQC9wzDSd1co/7\n\tyQFsLuwvJePxwoR57s6eGd0P8yWnwEcJDOHvCJDhLU5PZV2OL1Sjf2TmSbJ49rjt1k\n\thmtKx5Ir3AmfKOwOAfceaK1+deGAdM5zjxg4XpOGhjK/khjm8o6JHfu8omIJJG9vb0\n\tbeFf2IYOCzVYoCjnN3+4ebanGnYOqr3sABVvZCAfq/mAiPWs046zv1/G4muIIqEg2L\n\tY2glQO2D0u3MyMplNJ1a7FCuEhzrCHTedJ0y9Cq6B5s1nvkbIiY5ahwPNLYzIW48xd\n\tZ4hLkjpc/v7ww==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1686849945;\n\tbh=0R5YKzYC5n93O77+U5+2ee2mRlkQTCDfBakiwliYpfs=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=HAYBwW6fPsah4T8Omdhi48ybmmp4aPe/5NGeMgGP1Vl/uZGzRnH/Q3VNX5BGWKtWo\n\tiufpY8oqmZlkbFbtZcrtaZN/3F/JCLf8QbUGGGoFliccryYXkLPQMwZQm1BU5xc/mR\n\tC/kP+gTzvYDozJmfRvx+dP6Wc9a3ZyyX1v2AT14c="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"HAYBwW6f\"; dkim-atps=neutral",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Thu, 15 Jun 2023 18:26:07 +0100",
        "Message-Id": "<20230615172608.378258-5-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20230615172608.378258-1-kieran.bingham@ideasonboard.com>",
        "References": "<20230615172608.378258-1-kieran.bingham@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v4 4/5] libcamera: properties: Provide a\n\tDevices camera property",
        "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": "Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "Cc": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>,\n\tAshok Sidipotu <ashok.sidipotu@collabora.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Provide a new Camera property that allows pipeline handlers to list any\nkernel device used to operate the camera. This allows other frameworks\nand daemons such as PipeWire to better understand the resources consumed\nby a Camera and consider ignoring those resources when enumerating\ncamera devices on a system.\n\nTested-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>\nReviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n---\nv4:\n - Report that different cameras may report identical devices\n - Rename to SystemDevices\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/property_ids.yaml | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex cb55e0ed2283..ef1dfd322db1 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -690,6 +690,15 @@ controls:\n         that is twice that of the full resolution mode. This value will be valid\n         after the configure method has returned successfully.\n \n+  - SystemDevices:\n+      type: int64_t\n+      size: [n]\n+      description: |\n+        A list of integer values of type dev_t denoting major and minor device\n+        number of the underlying devices used in the operation of this camera.\n+\n+        Different cameras may report identical devices.\n+\n   # ----------------------------------------------------------------------------\n   # Draft properties section\n \n",
    "prefixes": [
        "libcamera-devel",
        "v4",
        "4/5"
    ]
}