Patch Detail
Show a patch.
GET /api/patches/8981/?format=api
{ "id": 8981, "url": "https://patchwork.libcamera.org/api/patches/8981/?format=api", "web_url": "https://patchwork.libcamera.org/patch/8981/", "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": "<20200724171404.736509-2-niklas.soderlund@ragnatech.se>", "date": "2020-07-24T17:14:03", "name": "[libcamera-devel,v2,1/2] include: drm_fourcc: Add 16-bit Bayer FourCC", "commit_ref": "90c793c6989fe6913faec920649062ad64b43ff0", "pull_url": null, "state": "accepted", "archived": false, "hash": "18f12064de0aaa2fc15b43e43d38d8a23ce93485", "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/8981/mbox/", "series": [ { "id": 1140, "url": "https://patchwork.libcamera.org/api/series/1140/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1140", "date": "2020-07-24T17:14:02", "name": "libcamera: Add support for 16-bit Bayer formats", "version": 2, "mbox": "https://patchwork.libcamera.org/series/1140/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/8981/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/8981/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 85856BD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jul 2020 17:14:18 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 708BD6124B;\n\tFri, 24 Jul 2020 19:14:17 +0200 (CEST)", "from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CCFAA60939\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jul 2020 19:14:15 +0200 (CEST)", "from bismarck.berto.se (p4fca2eca.dip0.t-ipconnect.de\n\t[79.202.46.202]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 1933204f-cdd1-11ea-933e-005056917a89;\n\tFri, 24 Jul 2020 19:14:14 +0200 (CEST)" ], "X-Halon-ID": "1933204f-cdd1-11ea-933e-005056917a89", "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 19:14:03 +0200", "Message-Id": "<20200724171404.736509-2-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200724171404.736509-1-niklas.soderlund@ragnatech.se>", "References": "<20200724171404.736509-1-niklas.soderlund@ragnatech.se>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v2 1/2] include: drm_fourcc: Add 16-bit\n\tBayer 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>", "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* Changes since v1\n- Use non conflicting FourCC for DRM_FORMAT_SRGGB16.\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..72453692bdefacc4 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', 'B', '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", "v2", "1/2" ] }