Show a patch.

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

{
    "id": 14436,
    "url": "https://patchwork.libcamera.org/api/patches/14436/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/14436/",
    "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": "<20211101091510.23204-2-naush@raspberrypi.com>",
    "date": "2021-11-01T09:15:00",
    "name": "[libcamera-devel,v5,01/11] include: drm_fourcc: Add R10 and R12 FourCC",
    "commit_ref": "dc2f47e6e572aeb1618f42b07c6a339e45086a70",
    "pull_url": null,
    "state": "accepted",
    "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/14436/mbox/",
    "series": [
        {
            "id": 2684,
            "url": "https://patchwork.libcamera.org/api/series/2684/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2684",
            "date": "2021-11-01T09:14:59",
            "name": "Raspberry Pi: Conversion to media controller",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/2684/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/14436/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/14436/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 C8308BDB1C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  1 Nov 2021 09:15:18 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 977F8600C9;\n\tMon,  1 Nov 2021 10:15:16 +0100 (CET)",
            "from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com\n\t[IPv6:2a00:1450:4864:20::42b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8299F600BD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  1 Nov 2021 10:15:14 +0100 (CET)",
            "by mail-wr1-x42b.google.com with SMTP id b12so22728220wrh.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 01 Nov 2021 02:15:14 -0700 (PDT)",
            "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:3a2b:9d8c:92b9:ece6])\n\tby smtp.gmail.com with ESMTPSA id\n\tw10sm13168849wrq.88.2021.11.01.02.15.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 01 Nov 2021 02:15:13 -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=\"ZhqkPIBy\"; 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=DFVfDgiJ51NAaHuOgz8wXkOeYUYNO2/wkqOjzQm0aj8=;\n\tb=ZhqkPIByu5gZ3pPu4Nc7C1KzB0m7YQHoqjpwsT7P2L9daINh+oWG4NraMGywaW/5KX\n\tB72Y4IwdHNKh7MAoIaBGsYRN9QaLTRIwDhpf5SiUlLbQ6yuU9Pa8R9tYN8p8KqI6pcHm\n\taZsEJxIVUxuNub7eAG5G4hBnO4dsgXQWBVeUmbFIlaPqwoZJXE0eYtOsZOTcVnZgcsfU\n\ti4eL+IzHSBBvLM7LTRhwhUQNsKKOBS7EJdDEGgzUNY2ks0Ra7OEyeN3vTS4qbBlrjow7\n\tHnbmZu7PGdj0WRO0N+5v0Z/DpjCFKffWF8cXbsW20kfiewd0rIt5PGU7QW9vru/o2XeR\n\tdZXA==",
        "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=DFVfDgiJ51NAaHuOgz8wXkOeYUYNO2/wkqOjzQm0aj8=;\n\tb=c45JEpR5roxqIxemeeRf4DOmrn4mkIfuERvtwHOsOwlYHo3x67Ak9J4H8lC1yBt5f1\n\tqJj2uBl/+LjLzUZfqjNoZvyHibpzQXQJpu/Kzet+HHrl8m/+LbRB18uJKuOy5E1W0eub\n\tBVSf5+EJpOcCTK8P2C3+8WAhGO5IJx/ylzj0YZw7Tk79c8l9OlXWx0tn5NSh0pVZ23Dw\n\tksHVRRDbBIzfUqA/Tgn86K79nbSHIvObm0GiQ4geDT51+Aohyyb6VtxfDW5eO+N3xCSz\n\ty3IMv+dt8jxAwtUbntxuZy2Rn8+SzuYIVzFGGMBCv+RDI/NSlfCy5vSuO4T4Ql+hoOxs\n\taK6g==",
        "X-Gm-Message-State": "AOAM531LqkMqco2u9NPiA116G2W4HeglMN4LDxBAMA6c4RQAJj4AAie2\n\t+WdbI46GK2/ksEmwLjXa7IRsFg/8IdY19H/6",
        "X-Google-Smtp-Source": "ABdhPJzmkRLSAK6wAaf2srdLeK3YMQ9Lc+EXNaf7HxN0dCrM3yAVF98lpqdWzm29qITRvVHODduovQ==",
        "X-Received": "by 2002:a5d:69c5:: with SMTP id\n\ts5mr33074229wrw.283.1635758113920; \n\tMon, 01 Nov 2021 02:15:13 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  1 Nov 2021 09:15:00 +0000",
        "Message-Id": "<20211101091510.23204-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211101091510.23204-1-naush@raspberrypi.com>",
        "References": "<20211101091510.23204-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v5 01/11] 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>\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\nAcked-by: Kieran Bingham <kieran.bingham@ideasonboard.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",
        "v5",
        "01/11"
    ]
}