get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810001,
    "url": "http://patchwork.ozlabs.org/api/patches/810001/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170905084306.19318-7-mperttunen@nvidia.com/",
    "project": {
        "id": 21,
        "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api",
        "name": "Linux Tegra Development",
        "link_name": "linux-tegra",
        "list_id": "linux-tegra.vger.kernel.org",
        "list_email": "linux-tegra@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905084306.19318-7-mperttunen@nvidia.com>",
    "list_archive_url": null,
    "date": "2017-09-05T08:43:06",
    "name": "[v2,6/6] drm/tegra: Add Tegra186 support for VIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "81d746b3c8160d0eba81df56863529059128aae9",
    "submitter": {
        "id": 26499,
        "url": "http://patchwork.ozlabs.org/api/people/26499/?format=api",
        "name": "Mikko Perttunen",
        "email": "mperttunen@nvidia.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20170905084306.19318-7-mperttunen@nvidia.com/mbox/",
    "series": [
        {
            "id": 1515,
            "url": "http://patchwork.ozlabs.org/api/series/1515/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=1515",
            "date": "2017-09-05T08:43:06",
            "name": "Host1x and VIC support for Tegra186",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1515/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810001/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810001/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-tegra-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tsecure) header.d=kapsi.fi header.i=@kapsi.fi header.b=\"Ez59qF5y\";\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmgH85ffrz9sPs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 18:43:48 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750920AbdIEInq (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 5 Sep 2017 04:43:46 -0400",
            "from mail.kapsi.fi ([91.232.154.25]:48310 \"EHLO mail.kapsi.fi\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750753AbdIEInp (ORCPT <rfc822;linux-tegra@vger.kernel.org>);\n\tTue, 5 Sep 2017 04:43:45 -0400",
            "from dsl-hkibng41-567306-181.dhcp.inet.fi ([86.115.6.181]\n\thelo=localhost.localdomain) by mail.kapsi.fi with esmtpsa\n\t(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)\n\t(envelope-from <mperttunen@nvidia.com>)\n\tid 1dp9SN-0005vW-4z; Tue, 05 Sep 2017 11:43:39 +0300"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi;\n\ts=20161220; \n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From;\n\tbh=EDwBczRln415djDQ/BeZ/kV3cjd5FSobdMyyWUWDQBo=; \n\tb=Ez59qF5yzQF9oyQQkv4gmC+/ncgy1fmF600it/9JUS3ONMajPvYRVsnr3CUFrTSI4jse0N71BnEm0hJUdhTKJaQQKlVN9m8AeiRN7dMs6eR3UCUbKWMtnYaWD91SnR4ANt+nLnw5XLyP3tR5UUmsKAdiXXxwEKfVYZ1wAf+57TiehY+mwOg/sN/6adKFJWQYm5u0TlYO6r8RGNy8O1/7dBE1U8ZrKMS5NQ2C/Rcr9ntRLocLDMFgmG7WJFoVCx8DYALpwxczr6kGk0IS4yeCesuzNkesPILQt1Z2nPF5Kj7iXZ39Dhv6urR/nP10MWubClnVlRZ1GUhrePAyruUpvg==;",
        "From": "Mikko Perttunen <mperttunen@nvidia.com>",
        "To": "thierry.reding@gmail.com, jonathanh@nvidia.com, robh+dt@kernel.org,\n\tmark.rutland@arm.com",
        "Cc": "digetx@gmail.com, amerilainen@nvidia.com, dnibade@nvidia.com,\n\tsgurrappadi@nvidia.com, dri-devel@lists.freedesktop.org,\n\tdevicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tMikko Perttunen <mperttunen@nvidia.com>",
        "Subject": "[PATCH v2 6/6] drm/tegra: Add Tegra186 support for VIC",
        "Date": "Tue,  5 Sep 2017 11:43:06 +0300",
        "Message-Id": "<20170905084306.19318-7-mperttunen@nvidia.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170905084306.19318-1-mperttunen@nvidia.com>",
        "References": "<20170905084306.19318-1-mperttunen@nvidia.com>",
        "X-SA-Exim-Connect-IP": "86.115.6.181",
        "X-SA-Exim-Mail-From": "mperttunen@nvidia.com",
        "X-SA-Exim-Scanned": "No (on mail.kapsi.fi); SAEximRunCond expanded to false",
        "Sender": "linux-tegra-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-tegra.vger.kernel.org>",
        "X-Mailing-List": "linux-tegra@vger.kernel.org"
    },
    "content": "Add Tegra186 support for VIC - no changes are required except for new\nfirmware and compatibility string.\n\nSigned-off-by: Mikko Perttunen <mperttunen@nvidia.com>\n---\n drivers/gpu/drm/tegra/drm.c |  1 +\n drivers/gpu/drm/tegra/vic.c | 10 ++++++++++\n 2 files changed, 11 insertions(+)",
    "diff": "diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c\nindex 3ba659a5940d..e3331a2bc082 100644\n--- a/drivers/gpu/drm/tegra/drm.c\n+++ b/drivers/gpu/drm/tegra/drm.c\n@@ -1281,6 +1281,7 @@ static const struct of_device_id host1x_drm_subdevs[] = {\n \t{ .compatible = \"nvidia,tegra210-sor\", },\n \t{ .compatible = \"nvidia,tegra210-sor1\", },\n \t{ .compatible = \"nvidia,tegra210-vic\", },\n+\t{ .compatible = \"nvidia,tegra186-vic\", },\n \t{ /* sentinel */ }\n };\n \ndiff --git a/drivers/gpu/drm/tegra/vic.c b/drivers/gpu/drm/tegra/vic.c\nindex 2448229fa653..6697a21a250d 100644\n--- a/drivers/gpu/drm/tegra/vic.c\n+++ b/drivers/gpu/drm/tegra/vic.c\n@@ -270,9 +270,16 @@ static const struct vic_config vic_t210_config = {\n \t.firmware = NVIDIA_TEGRA_210_VIC_FIRMWARE,\n };\n \n+#define NVIDIA_TEGRA_186_VIC_FIRMWARE \"nvidia/tegra186/vic04_ucode.bin\"\n+\n+static const struct vic_config vic_t186_config = {\n+\t.firmware = NVIDIA_TEGRA_186_VIC_FIRMWARE,\n+};\n+\n static const struct of_device_id vic_match[] = {\n \t{ .compatible = \"nvidia,tegra124-vic\", .data = &vic_t124_config },\n \t{ .compatible = \"nvidia,tegra210-vic\", .data = &vic_t210_config },\n+\t{ .compatible = \"nvidia,tegra186-vic\", .data = &vic_t186_config },\n \t{ },\n };\n \n@@ -405,3 +412,6 @@ MODULE_FIRMWARE(NVIDIA_TEGRA_124_VIC_FIRMWARE);\n #if IS_ENABLED(CONFIG_ARCH_TEGRA_210_SOC)\n MODULE_FIRMWARE(NVIDIA_TEGRA_210_VIC_FIRMWARE);\n #endif\n+#if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC)\n+MODULE_FIRMWARE(NVIDIA_TEGRA_186_VIC_FIRMWARE);\n+#endif\n",
    "prefixes": [
        "v2",
        "6/6"
    ]
}