Show a patch.

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

{
    "id": 27075,
    "url": "https://patchwork.libcamera.org/api/patches/27075/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/27075/",
    "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": "<20260629094216.747340-3-naush@raspberrypi.com>",
    "date": "2026-06-29T08:36:41",
    "name": "[v2,2/3] include: linux: videodev2: Add NV12MT_COL128 8/10-bit pixel formats",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "02a06ba8611dec4feeeee9faa13dc180cb916198",
    "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/27075/mbox/",
    "series": [
        {
            "id": 6023,
            "url": "https://patchwork.libcamera.org/api/series/6023/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=6023",
            "date": "2026-06-29T08:36:39",
            "name": "Add NV12MT_COL128 8/10-bit pixel formats",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/6023/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/27075/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/27075/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 EB2ABC3264\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 29 Jun 2026 09:42:31 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8C5D465F19;\n\tMon, 29 Jun 2026 11:42:28 +0200 (CEST)",
            "from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com\n\t[IPv6:2a00:1450:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E4F14658B4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Jun 2026 11:42:25 +0200 (CEST)",
            "by mail-wr1-x42f.google.com with SMTP id\n\tffacd0b85a97d-473987fc217so68327f8f.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Jun 2026 02:42:25 -0700 (PDT)",
            "from naush-dell.pitowers.org\n\t([2a00:1098:3142:1f:496e:3dec:bc78:809f])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-49268f700c0sm345499125e9.0.2026.06.29.02.42.24\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 29 Jun 2026 02:42:25 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"A9TYo/0P\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1782726145; x=1783330945;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to:content-type;\n\tbh=jjn/Cv38r0CBDn6xvS/obDVXTgG4SR205+YKmG/PUv0=;\n\tb=A9TYo/0P2AmMjDZMWCAEXBjuDcIOfY+K5ZOiZidty/cA/BoDiFItAkgZdCmdg5Sxa4\n\tKcfCI0IfoXuH8IyX21MxHm+KeTRVw9xOydbZmQzB4SzNVejO+EWlvpZ/losPhusEgy8b\n\t4SV4zo3wdD3c/m/xA5cfUHa9j3pATTy+iY+lzS6vc7pzhb8wHZmgzEfTpI8+rhHus1nM\n\tGnpfygXoSJYI95Agke/TpoOI8lUt2jST+91YnSWdlmwHNmiN7gHb8IvunDQcaJI7KI8I\n\tTSI+6T/CfYID7vlqG+LjXwulwZ4fXICGrhsBgAMR7fiY7QqZYauUqmsKPAlhhjgmG6Fa\n\tDULQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1782726145; x=1783330945;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to:content-type;\n\tbh=jjn/Cv38r0CBDn6xvS/obDVXTgG4SR205+YKmG/PUv0=;\n\tb=bR03nP4L0Knctv2Xucm3JO2666QpmEc7ZS4/GCrSh7MFwImegG0el3byotNkAklgSo\n\tz8tHQdsEgoTQ5xH4QyPKm2wdPgbfaoJIXrelj/UdNcsiIPSTrsZilEEQrtwRF0xUU5um\n\tXlpfxolis4+8l2QrKWiWg3WdGypuBm+RkHh6P9+QYI4UeJDLIMn0wZJFU/jXJQMaZt5p\n\tdGRJmKPKU8RXMMlyzAcORsqoo4cFEkK9ItdYVAC6PFP/czpkPhnNSnLgVvPiJS+BsFgy\n\tGx1MsXpqRBdNXUb6bAt6KbqXxdQmpYEaCUraUqO4/vMcefuoXMFBL1OkUlcX57R4e5nk\n\t9TvA==",
        "X-Gm-Message-State": "AOJu0YwNYZRE0Hh1/S/qkWJWKgUddV6wfoQbQE41YrCbfgaj50W+YTq3\n\tpGp23K1ZkF/mPROh8GBJfzFFWkduzQcLIZRO2rBaasNazON6BQy+Fgkn/VY4FJiFvvxLSDcvuAk\n\t8rFagyJo=",
        "X-Gm-Gg": "AfdE7cmWTXP+y1dKzcSSHjCHMk54zQggWZhg+pBGhbRSVqCCJGRjV6yttbrAdGQKrGR\n\tTJNSuSZ/LezhU4yOO0qLnMXtKZMu73uD53aWZ8X9IcEEtGr1SQ/0X0igfey6J3E1Q+m5brTz1E0\n\t6AZJFiyr7VHAUQkXlEPVylSYCZpq1Dv1gSLPTECpFKEyiTLqKtBkQNtXWgHeB6B7TCkPkwZZHhT\n\tqHuAW8V5G+fS/clDtKen2TKv7rkFYbC/8Pmx6RGLc0XwGjbNsy22Z3wBuViNeQ1nMxDENZu1QZ/\n\tquyZLV+2qgPmgU4kB50LfaTf4T2tIJT0E97+KEx+et/uWg3vg24oo+m3S6TwKZDCxOUmml0VkvW\n\tlbzZv5/IFgnene7mczOKXZBaqoo2B2ZT19aBQj6LNvRP4EviW4+ADznRIPK4uwV4PDmRji33NCl\n\tPaBLkkunBFC48FJ/tGXqpK7KtvV/eMWs748Qmo+jyyMfsv8YQja0i0AwJNNyP0tv9TUIGbytKll\n\tWmjH4vK2f6GMcpAm5pi9WVJt+SmPD7Tg6exL/mlaS2aDpuXpuGsWa39jWN9ZZcqgk93TKDIMJJe\n\tTIc5/IEJ6M4jUYma/bpC",
        "X-Received": "by 2002:a05:600c:6386:b0:493:a974:f15d with SMTP id\n\t5b1f17b1804b1-493a974f26emr33058925e9.7.1782726145414; \n\tMon, 29 Jun 2026 02:42:25 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Naushir Patuck <naush@raspberrypi.com>",
        "Subject": "[PATCH v2 2/3] include: linux: videodev2: Add NV12MT_COL128 8/10-bit\n\tpixel formats",
        "Date": "Mon, 29 Jun 2026 09:36:41 +0100",
        "Message-ID": "<20260629094216.747340-3-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260629094216.747340-1-naush@raspberrypi.com>",
        "References": "<20260629094216.747340-1-naush@raspberrypi.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": "Add the V4L2_PIX_FMT_NV12MT_COL128 and V4L2_PIX_FMT_NV12MT_10_COL128\n4CCs. These formats are available from the PiSP Backend hardware.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n include/linux/videodev2.h | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\nindex 8bccad84ff83..0c6c4c6831d9 100644\n--- a/include/linux/videodev2.h\n+++ b/include/linux/videodev2.h\n@@ -670,6 +670,9 @@ struct v4l2_pix_format {\n #define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') /* 12  Y/CbCr 4:2:0 16x16 tiles */\n #define V4L2_PIX_FMT_NV12M_8L128      v4l2_fourcc('N', 'A', '1', '2') /* Y/CbCr 4:2:0 8x128 tiles */\n #define V4L2_PIX_FMT_NV12M_10BE_8L128 v4l2_fourcc_be('N', 'T', '1', '2') /* Y/CbCr 4:2:0 10-bit 8x128 tiles */\n+#define V4L2_PIX_FMT_NV12MT_COL128 v4l2_fourcc('N', 'c', '1', '2') /* 12  Y/CbCr 4:2:0 128 pixel wide column */\n+#define V4L2_PIX_FMT_NV12MT_10_COL128 v4l2_fourcc('N', 'c', '3', '0')\n+\t\t\t/* Y/CbCr 4:2:0 10bpc, 3x10 packed as 4 bytes in a 128 bytes / 96 pixel wide column */\n \n /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */\n #define V4L2_PIX_FMT_SBGGR8  v4l2_fourcc('B', 'A', '8', '1') /*  8  BGBG.. GRGR.. */\n",
    "prefixes": [
        "v2",
        "2/3"
    ]
}