From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C4F9E9538E for ; Wed, 4 Feb 2026 11:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sNbXPqCrWjNDcyFVVkwJ3j/Il5se3k2c/T+01h6Q+kk=; b=l09OIZo+ZTQQza pPXf39suQECysfFZyrcIFf8SeKDBu00ImcDTQ4hoD+FOzcdd5cwBoKFm3y6uoWjfXE/DckCmD7IFs IzCSBw3NgIRUuyPQ0KAm9we7K4+5S+F50Pc75Iden/GheUdxxGT8dJZ9naVYWFTcNfNq+r9QUKj7d ozGtGjP4vRYWep2aKG929slzn1UgI5arrYU4prMhwZ9k1GtUlOPF4gWnRqYXuXN/5r6qHb52AJmQT MBj5qOc6kFiQfQmTwbIiDgqeOBwjSUncwFVIhoxQWiv1fjpQjvvTMLAlVXFbRSqvQuXSybuqOtEU4 +HfjvU1a2d+9bBwyjdqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vnb0Z-00000008M14-3lvN; Wed, 04 Feb 2026 11:25:19 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vnb0V-00000008Lyn-3C45; Wed, 04 Feb 2026 11:25:17 +0000 Received: from t16.ideasonboard.com (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B489BC79; Wed, 4 Feb 2026 12:24:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1770204269; bh=5Nan95yq+Wog55Wh8dTymZ5+cZk1zyjYOzCC7cyupi8=; h=From:To:Cc:Subject:Date:From; b=aAWLW527Qxg/Z/BwFk7rxJ6ga0kQ/4zc6JLiH7hLKjXo+wNc1JorfTJ6ZXbkNIFNq uNsSv2ZcyzEJ7MJdbAXuf7HFE/GnAGSqZvvKFmTWXeBrKvrAeIo2Yv/d81AXVz4bqn 6xOdFi8JkTl4Kwboj/ayO4flF4Bg59x/RKMpn94M= From: Isaac Scott To: linux-media@vger.kernel.org Cc: dafna@fastmail.com, laurent.pinchart@ideasonboard.com, mchehab@kernel.org, heiko@sntech.de, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Isaac Scott Subject: [PATCH v1 0/6] media: rkisp1: Add YUV bypass support for rkisp1 Date: Wed, 4 Feb 2026 11:25:00 +0000 Message-ID: <20260204112506.3706049-1-isaac.scott@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260204_032516_229299_B9173005 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi all, "Smart" cameras that do all image processing on the camera module itself may not have the ability to output image data in RAW formats. These cameras would require the use of the ISI, which is sometimes not included in the hardware. In hotplug systems, it is also impossible to switch between the ISP and ISI at runtime, meaning if a media pipeline was set up between the sensor and the rkisp1 ISP capture device, it would not be possible to switch from a sensor supporting RAW formats to one outputting only YUV. Thankfully, the ISP can be configured to allow the incoming YUV stream to "bypass" the ISP blocks, allowing these sensors to be used. It bypasses all ISP blocks and passes through the resizer, with the input image data being presented at the output of the ISP to be captured. In bypass mode, stats buffers are not provided by the ISP. This series adds support for "YUV bypass", allowing sensors which only output YUV streams to be used through the rkisp1. Tested on: v6.18 Compile-tested on: media/next Isaac Scott (6): media: rkisp1-resizer: Add YUV source formats to resizer media: rkisp1-isp: Add in_bypass flag for YUV bypass media: rkisp1-isp: Add target_format media: rkisp1-isp: Propagate sink -> source format in YUV passthough media: rkisp1: Give buffers back instead of dropping in bypass mode media: rkisp1: Treat 8 bus width and 16 bus width formats the same .../platform/rockchip/rkisp1/rkisp1-capture.c | 5 ++++ .../platform/rockchip/rkisp1/rkisp1-common.h | 1 + .../platform/rockchip/rkisp1/rkisp1-isp.c | 26 ++++++++++++++----- .../platform/rockchip/rkisp1/rkisp1-resizer.c | 15 +++++++++++ 4 files changed, 40 insertions(+), 7 deletions(-) -- 2.43.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip