Patch Detail
Show a patch.
GET /api/patches/8956/?format=api
{ "id": 8956, "url": "https://patchwork.libcamera.org/api/patches/8956/?format=api", "web_url": "https://patchwork.libcamera.org/patch/8956/", "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": "<20200724085550.496484-2-niklas.soderlund@ragnatech.se>", "date": "2020-07-24T08:55:49", "name": "[libcamera-devel,1/2] include: drm_fourcc: Add 16-bit Bayer FourCC", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "3edf08103dce4e938269438263e2ab5edb7aa9b6", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/8956/mbox/", "series": [ { "id": 1133, "url": "https://patchwork.libcamera.org/api/series/1133/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1133", "date": "2020-07-24T08:55:48", "name": "libcamera: Add support for 16-bit Bayer formats", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1133/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/8956/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/8956/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 F10A6BD878\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 08:56:03 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 44F5F611B7;\n\tFri, 24 Jul 2020 10:56:03 +0200 (CEST)", "from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3B3056118F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 10:56:01 +0200 (CEST)", "from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA\n\tid 55e04852-cd8b-11ea-86ee-0050569116f7;\n\tFri, 24 Jul 2020 10:54:51 +0200 (CEST)" ], "X-Halon-ID": "55e04852-cd8b-11ea-86ee-0050569116f7", "Authorized-sender": "niklas@soderlund.pp.se", "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 24 Jul 2020 10:55:49 +0200", "Message-Id": "<20200724085550.496484-2-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200724085550.496484-1-niklas.soderlund@ragnatech.se>", "References": "<20200724085550.496484-1-niklas.soderlund@ragnatech.se>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH 1/2] include: drm_fourcc: Add 16-bit Bayer\n\tFourCC", "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>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The patch trying to upstream Bayer formats to the DRM FourCC header file\nin Linux left out the 16-bit formats, add them. This addition will be\nincluded in the next version of the DRM Bayer patch sent out.\n\nIntention is to merge this in libcamera and update the header file once\nthe upstream patch is picked up.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\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 69240dfe1df0df28..baa3faecdf1575c7 100644\n--- a/include/linux/drm_fourcc.h\n+++ b/include/linux/drm_fourcc.h\n@@ -344,6 +344,12 @@ extern \"C\" {\n #define DRM_FORMAT_SGBRG14\tfourcc_code('G', 'B', '1', '4')\n #define DRM_FORMAT_SBGGR14\tfourcc_code('B', 'G', '1', '4')\n \n+/* 16-bit Bayer formats */\n+#define DRM_FORMAT_SRGGB16\tfourcc_code('R', 'G', '1', '6')\n+#define DRM_FORMAT_SGRBG16\tfourcc_code('G', 'R', '1', '6')\n+#define DRM_FORMAT_SGBRG16\tfourcc_code('G', 'B', '1', '6')\n+#define DRM_FORMAT_SBGGR16\tfourcc_code('B', 'Y', 'R', '2')\n+\n /*\n * Format Modifiers:\n *\n", "prefixes": [ "libcamera-devel", "1/2" ] }