Show a patch.

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

{
    "id": 14355,
    "url": "https://patchwork.libcamera.org/api/patches/14355/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/14355/",
    "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": "<20211027092803.3671096-2-naush@raspberrypi.com>",
    "date": "2021-10-27T09:27:55",
    "name": "[libcamera-devel,v3,1/9] include: drm_fourcc: Add R10 and R12 FourCC",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f19a464a099535649632ad11d94f714dd4ed2c95",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/14355/mbox/",
    "series": [
        {
            "id": 2660,
            "url": "https://patchwork.libcamera.org/api/series/2660/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2660",
            "date": "2021-10-27T09:27:54",
            "name": "Raspberry Pi: Conversion to media controller",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/2660/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/14355/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/14355/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 E99CCBDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 27 Oct 2021 09:28:11 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2D4B464887;\n\tWed, 27 Oct 2021 11:28:11 +0200 (CEST)",
            "from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com\n\t[IPv6:2a00:1450:4864:20::42a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F78F60122\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 27 Oct 2021 11:28:08 +0200 (CEST)",
            "by mail-wr1-x42a.google.com with SMTP id u18so2977490wrg.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 27 Oct 2021 02:28:08 -0700 (PDT)",
            "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:6561:eb24:3f00:ce98])\n\tby smtp.gmail.com with ESMTPSA id\n\tx2sm2861360wmj.3.2021.10.27.02.28.06\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 27 Oct 2021 02:28:07 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"Adp7GBlB\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=e5OiYmwgsxOGD9dADhevPePOuTJgQifCfGk0A0TqGig=;\n\tb=Adp7GBlBxl4PKTTyxBtEWQeQRu6SQTKLAvFH8xztQ4PzXnF6KJd2oLdecIsUm9Z4Lw\n\thR+BjmkKMnURWqrMnV1pJ2OL6dwZ4XGq6DxBjdUEpoj2LOKi5yCcm9GrEuokyWzFTSP5\n\tBcPcSMqs5drZPPuzFQJkpRRrmRubbWcPeNq25rVe2z20oN407BETc6j6JaHrD0BYqxb6\n\tUArU5cXNopN+3tb6WkD6ZTiexPo5SzF3Lk3S2e7HccJXDMKGA819WyZALsPOE15H8QQt\n\tcVG8YuOC7ol0CZ5xSL0oo/jWshBPII7MEbvJiGsFw/U9VDXEfyo2TvW/yn/u7/+4xHT4\n\tI/dQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=e5OiYmwgsxOGD9dADhevPePOuTJgQifCfGk0A0TqGig=;\n\tb=ZTfjdhapnOU+YZ1vMUUMvJ0iBtXsdS3s3kwbRS/8p7H0BUkjCDcEw6Emmas03nW9Cf\n\tHeohsRay7/Wn8CV5L3oMpuU41s5ll9n8Db6MzwtvQvLJ3+TSsZB7rHZmqfZ5Yi0nm8Ra\n\tG734w0FWInlVjuuHvTNSy5qkf+hYW5HzS3zHFfzMUPsXq3YWfsvvF+DkDr5IT/xctzOD\n\t3QkkK38pEHMrRUJ82IPHB7YBjqfgqMrOBerixiSMLOIzEc5vvhjvrodClJbuaX6X+x4q\n\tdf1P4OjJ4cnnkxsX3oN5o3c9T+7X4S3Or5q7jL+H8UO1VPH42JhM1DQxw5/npUtEvBdB\n\tl2Aw==",
        "X-Gm-Message-State": "AOAM5330XII3+6c1Elr4YmmTiz00iHTQM8PEgQHd4bIojGZVa/sVzP8v\n\tRX44XMUHECDuFHgaFpgfn+ZKdY+iad2FTUH3",
        "X-Google-Smtp-Source": "ABdhPJwyEhYO8pk2glhGGp9e25evHBvVUvnW1KhhFQC4GqmZqBk+VODK9Dt/AwDeom8wS5E/7ob6gg==",
        "X-Received": "by 2002:a5d:4570:: with SMTP id\n\ta16mr38114325wrc.310.1635326887904; \n\tWed, 27 Oct 2021 02:28:07 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 27 Oct 2021 10:27:55 +0100",
        "Message-Id": "<20211027092803.3671096-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211027092803.3671096-1-naush@raspberrypi.com>",
        "References": "<20211027092803.3671096-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 1/9] include: drm_fourcc: Add R10 and\n\tR12 FourCC",
        "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": "From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n\nAdd FourCCs for 10- and 12-bit red format with padding to 16 bits. This\nis a temporary addition until the formats gets merged in the upstream\nkernel.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n include/linux/drm_fourcc.h | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\nindex 05d697ff30ce..28ea3a167ecb 100644\n--- a/include/linux/drm_fourcc.h\n+++ b/include/linux/drm_fourcc.h\n@@ -104,6 +104,12 @@ extern \"C\" {\n /* 8 bpp Red */\n #define DRM_FORMAT_R8\t\tfourcc_code('R', '8', ' ', ' ') /* [7:0] R */\n \n+/* 10 bpp Red */\n+#define DRM_FORMAT_R10\t\tfourcc_code('R', '1', '0', ' ') /* [15:0] x:R 6:10 little endian */\n+\n+/* 12 bpp Red */\n+#define DRM_FORMAT_R12\t\tfourcc_code('R', '1', '2', ' ') /* [15:0] x:R 4:12 little endian */\n+\n /* 16 bpp Red */\n #define DRM_FORMAT_R16\t\tfourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */\n \n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "1/9"
    ]
}