Patch Detail
Show a patch.
GET /api/patches/14377/?format=api
{ "id": 14377, "url": "https://patchwork.libcamera.org/api/patches/14377/?format=api", "web_url": "https://patchwork.libcamera.org/patch/14377/", "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": "<20211028084646.453775-2-naush@raspberrypi.com>", "date": "2021-10-28T08:46:37", "name": "[libcamera-devel,v4,01/10] 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/14377/mbox/", "series": [ { "id": 2671, "url": "https://patchwork.libcamera.org/api/series/2671/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2671", "date": "2021-10-28T08:46:36", "name": "Raspberry Pi: Conversion to media controller", "version": 4, "mbox": "https://patchwork.libcamera.org/series/2671/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/14377/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/14377/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 0D71FBF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 28 Oct 2021 08:46:58 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4B6F7600C3;\n\tThu, 28 Oct 2021 10:46:56 +0200 (CEST)", "from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n\t[IPv6:2a00:1450:4864:20::32c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 13C16600B5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 28 Oct 2021 10:46:54 +0200 (CEST)", "by mail-wm1-x32c.google.com with SMTP id\n\tb2-20020a1c8002000000b0032fb900951eso504586wmd.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 28 Oct 2021 01:46:54 -0700 (PDT)", "from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:b894:feb0:b828:13b])\n\tby smtp.gmail.com with ESMTPSA id\n\tz2sm1955281wmk.19.2021.10.28.01.46.52\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 28 Oct 2021 01:46:53 -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=\"G9yC9F+F\"; 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=G9yC9F+F9fTddmBmr8fwRW3rEgIvkQ6MDjVAbBkENHeP+MR5+MbxTI27H4zqVE6tjy\n\tFukber4giyxI4Rx6u5DsurtNpj5QtGDE2iQPJG11G/pQ+1dXfeVOOkArieMZsb7LE7yB\n\tZLAJIxdpfUhwXa5gsXmC9OrkKPRu2o8W+A10HSIhzyCKnUTLZbRfd1Nmcc2hiRtYq6dy\n\tvftVrFnIkqLUvmTucifl3l5u2gzYDGaNvjMeWz+AxlPue6QC554sRaOlJHf3Lj0QDRKK\n\t/z6zOd6iWANVtuc7AuCbo/ZPJyHGB2O1GKen5TIjb18pOvfNFRcldqjbgDsNL3bH/Qr8\n\tSF0g==", "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=IBnmE6OCt7YU6gPETpUm2Wme2vyQe7xnPDavgOWEh2B+OyJa5FZmWGrPWdCTDwHVIV\n\tn3+GI0L63Z5NXXznlugEO1zwKO8USdXvTqhfej6zb8JT4ytlE2pRcS+PF7Lw6rFkyB6e\n\tV4JhCe3RTc4vOoI+l38QhmcuwaO7QAW3asD2eaNiKsBTB9M9kgnvjFET/PqqshnxeE8g\n\tVrEu8IkBuzADynDDqGpcMCAR8blo8JmVYNelQ2QwRZqG6tvFK2w9SAzxLhaJZbdg94er\n\tZfeM4NiF5DaJqBb0RjZCRgbe9m9Yji7YFBFlATm4+K20rbBwLasrg2okWinrxXCPmzUM\n\tN8Zw==", "X-Gm-Message-State": "AOAM530Ginqb1YnjOUkAghF/+6IgQechbwSew9AF1DNssiHdSdA5vtyp\n\tLK9Knn/Y+EZaj4/ViaGtyKL92zVPlCBqaH4l", "X-Google-Smtp-Source": "ABdhPJxmnLLJj4nvEYJiQ/fNfgK12FX7xHvocvZoa+fFfnR+dxHuqxgqep5n7VpEFoXA2InGpabOxw==", "X-Received": "by 2002:a05:600c:35d0:: with SMTP id\n\tr16mr11038366wmq.97.1635410813577; \n\tThu, 28 Oct 2021 01:46:53 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 28 Oct 2021 09:46:37 +0100", "Message-Id": "<20211028084646.453775-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20211028084646.453775-1-naush@raspberrypi.com>", "References": "<20211028084646.453775-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v4 01/10] 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", "v4", "01/10" ] }