Patch Detail
Show a patch.
GET /api/1.1/patches/15877/?format=api
{ "id": 15877, "url": "https://patchwork.libcamera.org/api/1.1/patches/15877/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15877/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20220510115147.19360-38-laurent.pinchart@ideasonboard.com>", "date": "2022-05-10T11:51:34", "name": "[libcamera-devel,37/50] staging: media: imx: imx7-media-csi: Drop unsupported YUV and RGB formats", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "0fbebeba89c4a4305d6b443ce8476f3e48c8ed8b", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15877/mbox/", "series": [ { "id": 3106, "url": "https://patchwork.libcamera.org/api/1.1/series/3106/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3106", "date": "2022-05-10T11:50:57", "name": "staging: media: imx: Prepare destaging of imx7-media-csi", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3106/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15877/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15877/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 9FE07C3278\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 10 May 2022 11:52:37 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 22EF265694;\n\tTue, 10 May 2022 13:52:37 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A205F6569E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 10 May 2022 13:52:28 +0200 (CEST)", "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id BD9F4D18;\n\tTue, 10 May 2022 13:52:27 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652183557;\n\tbh=pWBNjOCNvJ0L79D+vMPw5/m+XPE3tTaq0Uoqw8TCT0c=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=i4mXN3aXUhUvg8+sf2M9JqHgOKt8se9axvf/J9LIfyHEhDAvk1UNHfQcTi2noo5BY\n\tdiyoVNvzmSYxFyJHBmfqXY2HraOp/QLclqnaSr/zdCFUlenWH/AfOinfp+WMh8xsCg\n\toZK3JmqayknIjJRgE/xJf4fM2KeJXKbUe1jw1PSlK2dRtoYkW9uRR3L2NFD5G9O5eO\n\tfJdpOwm5bNrgdnKNErW8J5XTlpgRiA9y8HOBNV2bWdDsiQ+2bS6xKC8mVaQbZGfGue\n\t44tNvNj2OO9FV9vW/ow+mAnNa71YW5pI5zA4q4YY7A0Xtf/57QCq7qOpKqhHGJ3Cgw\n\tJuqhTsiAWWBLg==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1652183548;\n\tbh=pWBNjOCNvJ0L79D+vMPw5/m+XPE3tTaq0Uoqw8TCT0c=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=mpPAIIclHIWx7vWeskS2UIvWTaxj3M5NsBhzV5Yfg4YoA62M1zVPAF3QC6TduA6pe\n\tsw3Z5hnpLQ0IyHoZPf+j2o2NNAUm+wttFDt75j0LyClPngOgX+9Y9co49dLSdPpbEp\n\tJBVPDbXRNirA9b1TDDXnKV/q0qom4pEeSrf3lMDI=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"mpPAIIcl\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 10 May 2022 14:51:34 +0300", "Message-Id": "<20220510115147.19360-38-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.35.1", "In-Reply-To": "<20220510115147.19360-1-laurent.pinchart@ideasonboard.com>", "References": "<20220510115147.19360-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 37/50] staging: media: imx:\n\timx7-media-csi: Drop unsupported YUV and RGB formats", "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>", "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Cc": "Martin Kepplinger <martin.kepplinger@puri.sm>, kernel@pengutronix.de,\n\tDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>,\n\tAlexander Stein <alexander.stein@ew.tq-group.com>,\n\tRui Miguel Silva <rmfrfs@gmail.com>,\n\tPhilipp Zabel <p.zabel@pengutronix.de>, \n\tSteve Longerbeam <slongerbeam@gmail.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "A large number of formats defined in the pixel_formats array are not\nsupported, as shown by the switch-case check in\nimx7_csi_pad_link_validate(). Drop them.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n drivers/staging/media/imx/imx7-media-csi.c | 55 ----------------------\n 1 file changed, 55 deletions(-)", "diff": "diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c\nindex 17259922a082..6704e5d4d43b 100644\n--- a/drivers/staging/media/imx/imx7-media-csi.c\n+++ b/drivers/staging/media/imx/imx7-media-csi.c\n@@ -838,61 +838,6 @@ static const struct imx7_csi_pixfmt pixel_formats[] = {\n \t\t),\n \t\t.yuv\t= true,\n \t\t.bpp = 16,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_YUV420,\n-\t\t.yuv\t= true,\n-\t\t.bpp = 12,\n-\t\t.planar = true,\n-\t}, {\n-\t\t.fourcc = V4L2_PIX_FMT_YVU420,\n-\t\t.yuv\t= true,\n-\t\t.bpp = 12,\n-\t\t.planar = true,\n-\t}, {\n-\t\t.fourcc = V4L2_PIX_FMT_YUV422P,\n-\t\t.yuv\t= true,\n-\t\t.bpp = 16,\n-\t\t.planar = true,\n-\t}, {\n-\t\t.fourcc = V4L2_PIX_FMT_NV12,\n-\t\t.yuv\t= true,\n-\t\t.bpp = 12,\n-\t\t.planar = true,\n-\t}, {\n-\t\t.fourcc = V4L2_PIX_FMT_NV16,\n-\t\t.yuv\t= true,\n-\t\t.bpp = 16,\n-\t\t.planar = true,\n-\t},\n-\t/*** RGB formats start here ***/\n-\t{\n-\t\t.fourcc\t= V4L2_PIX_FMT_RGB565,\n-\t\t.codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_RGB565_2X8_LE),\n-\t\t.bpp = 16,\n-\t\t.cycles = 2,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_RGB24,\n-\t\t.codes = IMX_BUS_FMTS(\n-\t\t\tMEDIA_BUS_FMT_RGB888_1X24,\n-\t\t\tMEDIA_BUS_FMT_RGB888_2X12_LE\n-\t\t),\n-\t\t.bpp = 24,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_BGR24,\n-\t\t.bpp = 24,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_XRGB32,\n-\t\t.codes = IMX_BUS_FMTS(MEDIA_BUS_FMT_ARGB8888_1X32),\n-\t\t.bpp = 32,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_XBGR32,\n-\t\t.bpp = 32,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_BGRX32,\n-\t\t.bpp = 32,\n-\t}, {\n-\t\t.fourcc\t= V4L2_PIX_FMT_RGBX32,\n-\t\t.bpp = 32,\n \t},\n \t/*** raw bayer and grayscale formats start here ***/\n \t{\n", "prefixes": [ "libcamera-devel", "37/50" ] }