Show a patch.

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

{
    "id": 23215,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/23215/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23215/",
    "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": "<20250422215920.4297-3-bryan.odonoghue@linaro.org>",
    "date": "2025-04-22T21:58:55",
    "name": "[02/27] libcamera: MappedFrameBuffer: Add accessor for MappedFrameBuffer plane maps",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": false,
    "hash": "7fabae6368dec01d504469e19cb9c6dc0dec6b2a",
    "submitter": {
        "id": 175,
        "url": "https://patchwork.libcamera.org/api/1.1/people/175/?format=api",
        "name": "Bryan O'Donoghue",
        "email": "bryan.odonoghue@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/23215/mbox/",
    "series": [
        {
            "id": 5142,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5142/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5142",
            "date": "2025-04-22T21:58:53",
            "name": "RFC: Add in a eGL based GPUISP in libcamera",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5142/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23215/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23215/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 D28E4C327D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Apr 2025 21:59:30 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 68DEF68ACE;\n\tTue, 22 Apr 2025 23:59:28 +0200 (CEST)",
            "from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n\t[IPv6:2a00:1450:4864:20::32c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3001C68AC5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Apr 2025 23:59:25 +0200 (CEST)",
            "by mail-wm1-x32c.google.com with SMTP id\n\t5b1f17b1804b1-43cf05f0c3eso42937905e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Apr 2025 14:59:25 -0700 (PDT)",
            "from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-44092d2eccesm2726615e9.20.2025.04.22.14.59.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Apr 2025 14:59:24 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"Zwx0IxOn\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1745359164; x=1745963964;\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=aCH9ke+xdNCLAOtJ17RTjBinWjVzpYUWWqrcCCjVgQ4=;\n\tb=Zwx0IxOnXhsVUTnXGvoKyBGfyNoVlM9Cw1/kTewO7e7DYrXoXmgZI6RCXG1yRwUgXu\n\tuqqm7b+PPHkgy2+f6bpoFQmMvasq8ROKeQR/k3zR4BFlurvYddCFV7/QIlY25QdyIAYV\n\t8v7yb9Bvy6j5kBtRmrAA7upT7FmhtnlWtI9mShVgfazQqXV5TiXsmgC05P60n2Fifo88\n\tPpUEQRIPvfe6wXd+PbCepXChSBf8hbO7ITnohJ57kxXH5vU7nPYAtRRqdPJvuqqmvJkI\n\tMFOEAcPOvFdQLTPdRyftsj2SIoucV/PaZy+QWZTHzPbXOooM6Ymkt30kAalzeLG4rRn4\n\tExdQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1745359164; x=1745963964;\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=aCH9ke+xdNCLAOtJ17RTjBinWjVzpYUWWqrcCCjVgQ4=;\n\tb=CpEg4QVfN3IanhP7QXbBG/vc19ra8GEWJ2qB3SBYspE3f4TvyQT2cP0sXCaMqsP6H2\n\to7aUY7NIYZWtMjy26wyXIoPbMoJQEHtgrP4ig0l7q/SZWk7z+XMsRufQ7a9OKwEOABEn\n\tqFjx+pD0TY4zx35ZbFrtoa0y1Li9Oa/4fRnDY8M44KIddzooVwjYCvPjLMaL7fP2a1xW\n\tXgF//Sm2TNRz2x0qXXXRxnORDPU7OJO5EFIriS+mtaC8zKm8cTR0pU3nFYfQ5xa7D0su\n\tmmy4T+viqWape/oPawukmv6eZd6ZBh1QbdCrXMkzJkLlVNBsmiCFgEVSVs+N4ANV7CEf\n\t1kOQ==",
        "X-Gm-Message-State": "AOJu0YwgMrcmwIj0HGIfIt5Auk0MwS1S76LyBAjVjx+/1ssERyFpNe/M\n\tNuKjFNHEgiMUJLCshs1tp2j6EzU/jn4+Fm42XoFwMZwPw2+XEfn3XMeQtqxbUe7y33YXZKxc46x\n\tZRXo=",
        "X-Gm-Gg": "ASbGnctgJ33lAhzP5J+bjiCQ4lSZgkmy9bxT004L9VR4rAzXA3O64mu4+je4Ml/yzwG\n\tCFVQjFPsUKQWITwEdD62p0qjHOkilPPLF+mBGY5hnjvEeqCAeVd2Mvt6c+U6WICb1RyAnvpvLVN\n\tlRUVJuwnJ7GFkB3ldeO3+IU7J2F8eE1z+VGaSmWBGi+781zEHa6TOEnn+jVEmIIwfhGreCPu3bz\n\tfwihHvLfrZziz/QqHEx9OBiweUyNTnr9ysYTZowQPJUQfxFCLf3NK+sSsNjGTw8tIfOYmnQ5o+W\n\tMJFgzDVV3QxbWilkL9mVhaWOou2fGr7ACzOZFaK5HXvvmKbRMmVomj5N1vJloWzASC/mh5ahaFp\n\tAOJiCC1iXmWl7Avqfc8sd",
        "X-Google-Smtp-Source": "AGHT+IEJqwk2IA3oHJC/U0MQoktphPGBVlOs7unj1u+rPVMHryuKGPwmhIR5kT9nZwIRATs/BxYcHw==",
        "X-Received": "by 2002:a05:600c:4f12:b0:43c:f050:fed3 with SMTP id\n\t5b1f17b1804b1-4406ab96ad3mr130306875e9.11.1745359164584; \n\tTue, 22 Apr 2025 14:59:24 -0700 (PDT)",
        "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "hdegoede@redhat.com, mzamazal@redhat.com, bryan.odonoghue@linaro.org,\n\tbod.linux@nxsw.ie",
        "Subject": "[PATCH 02/27] libcamera: MappedFrameBuffer: Add accessor for\n\tMappedFrameBuffer plane maps",
        "Date": "Tue, 22 Apr 2025 22:58:55 +0100",
        "Message-ID": "<20250422215920.4297-3-bryan.odonoghue@linaro.org>",
        "X-Mailer": "git-send-email 2.49.0",
        "In-Reply-To": "<20250422215920.4297-1-bryan.odonoghue@linaro.org>",
        "References": "<20250422215920.4297-1-bryan.odonoghue@linaro.org>",
        "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": "Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n include/libcamera/internal/mapped_framebuffer.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/libcamera/internal/mapped_framebuffer.h b/include/libcamera/internal/mapped_framebuffer.h\nindex cb81243e..68b30740 100644\n--- a/include/libcamera/internal/mapped_framebuffer.h\n+++ b/include/libcamera/internal/mapped_framebuffer.h\n@@ -31,6 +31,7 @@ public:\n \tbool isValid() const { return error_ == 0; }\n \tint error() const { return error_; }\n \tconst std::vector<Plane> &planes() const { return planes_; }\n+\tconst std::vector<Plane> &maps() const { return maps_; }\n \tconst std::vector<int> &fds() const { return fds_; }\n \n protected:\n",
    "prefixes": [
        "02/27"
    ]
}