Show a patch.

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

{
    "id": 26426,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26426/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26426/",
    "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": "<20260405191443.1209948-11-laurent.pinchart@ideasonboard.com>",
    "date": "2026-04-05T19:14:42",
    "name": "[10/11] libcamera: rpi: Add missing SPDX headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3a5b808733864094e2b4330629c01154938488c2",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26426/mbox/",
    "series": [
        {
            "id": 5866,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5866/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5866",
            "date": "2026-04-05T19:14:32",
            "name": "libcamera: Fix missing license information",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5866/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26426/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26426/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 2D108C32BB\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  5 Apr 2026 19:15:05 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D11D162D95;\n\tSun,  5 Apr 2026 21:15:04 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9BBC362D85\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:15:01 +0200 (CEST)",
            "from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 6A6CB1988\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:13:35 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"bGO9nEI/\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775416415;\n\tbh=vWsA1tHJXaZ1OhaKvINtC9qr9osvAbLBcIvyYxHbaZo=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=bGO9nEI/ZcyXTFI8HnAPcpODKaKJhTR7daWgTvnHhWkPqXQIM8ip6Sr+DIIU/isME\n\t7MbJBAIVKTy3a9p1HySm97CEpa1owvk/WAO6VCwOQPoqxmZ9a5Ed/PbVFkRSx+HiKQ\n\tYvlnIR89Yf+6YL4TXIgRxaI8K6CuvotVzg6ZjOQw=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 10/11] libcamera: rpi: Add missing SPDX headers",
        "Date": "Sun,  5 Apr 2026 22:14:42 +0300",
        "Message-ID": "<20260405191443.1209948-11-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>",
        "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": "Multiple files in the Raspberry Pi pipeline handler and IPA module are\nmissing SPDX headers. Add them with the following licenses:\n\n- For code and documentation, use the BSD-2-Clause license, as for the\n  rest of the Raspberry Pi code.\n\n- For the example pipeline handler configuration files, use the CC0-1.0\n  license to facilitate their usage.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/rpi/controller/decompand_status.h         | 1 +\n src/ipa/rpi/controller/rpi/decompand.cpp          | 2 ++\n src/ipa/rpi/controller/rpi/decompand.h            | 1 +\n src/libcamera/pipeline/rpi/pisp/data/example.yaml | 1 +\n src/libcamera/pipeline/rpi/vc4/data/example.yaml  | 1 +\n utils/raspberrypi/ctt/README.md                   | 2 ++\n 6 files changed, 8 insertions(+)",
    "diff": "diff --git a/src/ipa/rpi/controller/decompand_status.h b/src/ipa/rpi/controller/decompand_status.h\nindex 2d9888dca4f3..d024fe71936d 100644\n--- a/src/ipa/rpi/controller/decompand_status.h\n+++ b/src/ipa/rpi/controller/decompand_status.h\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n #pragma once\n \n #include \"libipa/pwl.h\"\ndiff --git a/src/ipa/rpi/controller/rpi/decompand.cpp b/src/ipa/rpi/controller/rpi/decompand.cpp\nindex 2d457926c060..b93e5c0b1974 100644\n--- a/src/ipa/rpi/controller/rpi/decompand.cpp\n+++ b/src/ipa/rpi/controller/rpi/decompand.cpp\n@@ -1,3 +1,5 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n+\n #include \"decompand.h\"\n \n #include <libcamera/base/log.h>\ndiff --git a/src/ipa/rpi/controller/rpi/decompand.h b/src/ipa/rpi/controller/rpi/decompand.h\nindex 6db779c359a8..fdb4d733adda 100644\n--- a/src/ipa/rpi/controller/rpi/decompand.h\n+++ b/src/ipa/rpi/controller/rpi/decompand.h\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n #pragma once\n \n #include <libipa/pwl.h>\ndiff --git a/src/libcamera/pipeline/rpi/pisp/data/example.yaml b/src/libcamera/pipeline/rpi/pisp/data/example.yaml\nindex c5edbba074e8..4b0742452cf1 100644\n--- a/src/libcamera/pipeline/rpi/pisp/data/example.yaml\n+++ b/src/libcamera/pipeline/rpi/pisp/data/example.yaml\n@@ -1,3 +1,4 @@\n+# SPDX-License-Identifier: CC0-1.0\n {\n         \"version\": 1.0,\n         \"target\": \"pisp\",\ndiff --git a/src/libcamera/pipeline/rpi/vc4/data/example.yaml b/src/libcamera/pipeline/rpi/vc4/data/example.yaml\nindex 2ee2b864d55f..9e8d0fdb225f 100644\n--- a/src/libcamera/pipeline/rpi/vc4/data/example.yaml\n+++ b/src/libcamera/pipeline/rpi/vc4/data/example.yaml\n@@ -1,3 +1,4 @@\n+# SPDX-License-Identifier: CC0-1.0\n {\n         \"version\": 1.0,\n         \"target\": \"bcm2835\",\ndiff --git a/utils/raspberrypi/ctt/README.md b/utils/raspberrypi/ctt/README.md\nindex c3a738ad01ad..aa78274667b6 100644\n--- a/utils/raspberrypi/ctt/README.md\n+++ b/utils/raspberrypi/ctt/README.md\n@@ -1,3 +1,5 @@\n+.. SPDX-License-Identifier: BSD-2-Clause\n+\n The Raspberry Pi CTT has moved from this location to the following GitHub\n repository:\n \n",
    "prefixes": [
        "10/11"
    ]
}