Patch Detail
Show a patch.
GET /api/patches/18633/?format=api
{ "id": 18633, "url": "https://patchwork.libcamera.org/api/patches/18633/?format=api", "web_url": "https://patchwork.libcamera.org/patch/18633/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/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": "<20230515124550.3601128-5-kieran.bingham@ideasonboard.com>", "date": "2023-05-15T12:45:49", "name": "[libcamera-devel,v3,4/5] libcamera: properties: Provide a Devices camera property", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "8a1f1780419a17e1c1a2f71c47be7acb135c464a", "submitter": { "id": 4, "url": "https://patchwork.libcamera.org/api/people/4/?format=api", "name": "Kieran Bingham", "email": "kieran.bingham@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/18633/mbox/", "series": [ { "id": 3878, "url": "https://patchwork.libcamera.org/api/series/3878/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3878", "date": "2023-05-15T12:45:45", "name": "libcamera: Add new Camera devices property", "version": 3, "mbox": "https://patchwork.libcamera.org/series/3878/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/18633/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/18633/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 65B4EBDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 15 May 2023 12:46:00 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CAC8B62874;\n\tMon, 15 May 2023 14:45:58 +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 E499A6039F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 15 May 2023 14:45:54 +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 29D1F7E1;\n\tMon, 15 May 2023 14:45:44 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1684154758;\n\tbh=nkmIwIDV+c6Zm28BaUrSUiED+XpiaHVz4gwzJTTmlmU=;\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=RXTShXqDCJm8hzCBmebSzNqROdtBWutdQ/98KcgNbkFjnqp3lpJB1GqcxJ5ETIStS\n\tEIaJGUycvgfEqojTx68lkK6LZvaNXfh5YiDjUvZeyEBMOKqUMclVr1Y3vfD4Y+ArGr\n\ts89mKYyrZwDBmdeAlV0cR3+UvehgBd9Miu3VV/50rRnxXfb/ezj6J1BsKv80pIfmf7\n\tu6XFraw/w/3wRAMn0wtpljiI2x+U3BiHdXvKgGapH2bfrrJtvOFcJSxv5yBVqH6+XR\n\tOBkl3JlVUR2BxXINLm2smTGyzGBTNleHox8uT/BRTUKro6B9AOgxWTIeOqGdBPnaBt\n\tV/mIXQ/bofdsA==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1684154744;\n\tbh=nkmIwIDV+c6Zm28BaUrSUiED+XpiaHVz4gwzJTTmlmU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=ZvINU7fuexH6SO67eLvS9936bH0qhxQUerjO1vap7aDq1EU0+phShSxe7Tj2QsCtp\n\tM7i28tzv/y1tb8AjvITUUpq+uI5vzeglTZ/vKdfAA4XJrLlk4PekA8YRcA3MDqFTZB\n\trw2X+AFr8lW41MiyvjAgyp+nzIjU9FxykwySLgUw=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"ZvINU7fu\"; dkim-atps=neutral", "To": "libcamera devel <libcamera-devel@lists.libcamera.org>", "Date": "Mon, 15 May 2023 13:45:49 +0100", "Message-Id": "<20230515124550.3601128-5-kieran.bingham@ideasonboard.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20230515124550.3601128-1-kieran.bingham@ideasonboard.com>", "References": "<20230515124550.3601128-1-kieran.bingham@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v3 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>", "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\ndevices used to operate the device. This allows other frameworks and\ndaemons such as Pipewire to better understand the resources consumed by\na Camera and consider ignoring those resources when enumerating camera\ndevices on a system.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\n---\n src/libcamera/property_ids.yaml | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex cb55e0ed2283..6141942969f9 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -690,6 +690,13 @@ 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+ - Devices:\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 # ----------------------------------------------------------------------------\n # Draft properties section\n \n", "prefixes": [ "libcamera-devel", "v3", "4/5" ] }