Show a patch.

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

{
    "id": 11394,
    "url": "https://patchwork.libcamera.org/api/patches/11394/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/11394/",
    "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": "<20210226132932.165484-2-jacopo@jmondi.org>",
    "date": "2021-02-26T13:29:21",
    "name": "[libcamera-devel,01/12] meson: options: Add an option to select Android memory backend",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "2533caef4ed8fb1934ae25d33e1002b3ca11df5e",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/11394/mbox/",
    "series": [
        {
            "id": 1731,
            "url": "https://patchwork.libcamera.org/api/series/1731/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1731",
            "date": "2021-02-26T13:29:20",
            "name": "android: Support memory backends",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1731/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/11394/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/11394/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 DCB13BD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 26 Feb 2021 13:29:17 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C1A8468A6F;\n\tFri, 26 Feb 2021 14:29:15 +0100 (CET)",
            "from relay12.mail.gandi.net (relay12.mail.gandi.net\n\t[217.70.178.232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7A40A60106\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Feb 2021 14:29:13 +0100 (CET)",
            "from uno.LocalDomain (93-61-96-190.ip145.fastwebnet.it\n\t[93.61.96.190]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay12.mail.gandi.net (Postfix) with ESMTPSA id 4214320000F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 26 Feb 2021 13:29:13 +0000 (UTC)"
        ],
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 26 Feb 2021 14:29:21 +0100",
        "Message-Id": "<20210226132932.165484-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.30.0",
        "In-Reply-To": "<20210226132932.165484-1-jacopo@jmondi.org>",
        "References": "<20210226132932.165484-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 01/12] meson: options: Add an option to\n\tselect Android memory backend",
        "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": "The Android Camera3 HAL implementation interfaces with platform\nspecific implementations of the memory management infrastructure.\n\nOn regular Android systems it is usually a vendor specific\nimplementation of the gralloc framework, on Chromium OS memory\nis managed through the system-specific libcbm implementation and\nso far the only supported backend was a generic implementation that\nrelies on the Linux kernel primitives to access memory buffer.\n\nDefine a combo option to select which memory backend to use and\ndefine the currently existing implementation as 'android_generic'.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n meson_options.txt | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/meson_options.txt b/meson_options.txt\nindex 22efb3235c19..34063172f4ba 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -10,6 +10,12 @@ option('cros',\n        value : 'false',\n        description : 'Compile libcamera with the cros Camera3 HAL interface (depends on android option)')\n \n+option('android_memory_backend',\n+        type : 'combo',\n+        choices : ['android_generic'],\n+        value : 'android_generic',\n+        description : 'Select the memory backend in use for the Android Camera3 HAL')\n+\n option('documentation',\n         type : 'feature',\n         description : 'Generate the project documentation')\n",
    "prefixes": [
        "libcamera-devel",
        "01/12"
    ]
}