Show a patch.

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

{
    "id": 2286,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/2286/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2286/",
    "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": "<20191028110208.15751-4-laurent.pinchart@ideasonboard.com>",
    "date": "2019-10-28T11:02:04",
    "name": "[libcamera-devel,v2,3/7] include: drm_fourcc: Add Motion-JPEG FourCC",
    "commit_ref": "9db0ed5e206545c5db389df298601fe2d06e58f4",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "63907c8191754809a6df821f21426e25c4c5f60a",
    "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/2286/mbox/",
    "series": [
        {
            "id": 564,
            "url": "https://patchwork.libcamera.org/api/1.1/series/564/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=564",
            "date": "2019-10-28T11:02:01",
            "name": "libcamera: Introduce a PixelFormat type",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/564/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2286/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2286/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 59A746017F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Oct 2019 12:02:20 +0100 (CET)",
            "from pendragon.ideasonboard.com (unknown [91.217.168.176])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 07CA59C2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Oct 2019 12:02:20 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1572260540;\n\tbh=nwi5N9/1GVPeD/v0JYKN82dAB/U4ebaE45Rh7GELtXg=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=fryw9ECeG7kQuwpIAQkSTwrRxnAnbExLu7QjHMGAMV8+dfZ/qQgT/Uj/b5JB5cjDf\n\tUY/jyJyHmo8Ip0i8sqzEml6vn7t0Yo4cqkStr8zPHv4zHUTWf1/DYC2M2lwS2kycpV\n\tF6syq4Ri/Xso++SOmKBBlfiFhRIXpIGVc0nD3HQI=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 28 Oct 2019 13:02:04 +0200",
        "Message-Id": "<20191028110208.15751-4-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "In-Reply-To": "<20191028110208.15751-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20191028110208.15751-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 3/7] include: drm_fourcc: Add\n\tMotion-JPEG 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>",
        "X-List-Received-Date": "Mon, 28 Oct 2019 11:02:20 -0000"
    },
    "content": "From: Jacopo Mondi <jacopo@jmondi.org>\n\nAdd a FourCC for Motion-JPEG compressed format. This is a temporary\naddition until the format gets merged in the upstream kernel.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/linux/drm_fourcc.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\nindex 3feeaa3f987a..4bb1bfe93d5f 100644\n--- a/include/linux/drm_fourcc.h\n+++ b/include/linux/drm_fourcc.h\n@@ -285,6 +285,8 @@ extern \"C\" {\n #define DRM_FORMAT_YUV444\tfourcc_code('Y', 'U', '2', '4') /* non-subsampled Cb (1) and Cr (2) planes */\n #define DRM_FORMAT_YVU444\tfourcc_code('Y', 'V', '2', '4') /* non-subsampled Cr (1) and Cb (2) planes */\n \n+/* Compressed formats */\n+#define DRM_FORMAT_MJPEG\tfourcc_code('M', 'J', 'P', 'G') /* Motion-JPEG */\n \n /*\n  * Format Modifiers:\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "3/7"
    ]
}