From patchwork Thu Oct 1 15:45:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 9889 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 37F2DC3B5B for ; Thu, 1 Oct 2020 15:46:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 84BA3622F2; Thu, 1 Oct 2020 17:46:15 +0200 (CEST) Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7FC256035F for ; Thu, 1 Oct 2020 17:46:13 +0200 (CEST) X-Halon-ID: 3661556c-03fd-11eb-9823-005056917f90 Authorized-sender: niklas.soderlund@fsdn.se Received: from bismarck.berto.se (p54ac52a8.dip0.t-ipconnect.de [84.172.82.168]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id 3661556c-03fd-11eb-9823-005056917f90; Thu, 01 Oct 2020 17:46:10 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Thu, 1 Oct 2020 17:45:54 +0200 Message-Id: <20201001154600.2722718-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/6] libcamera: pipeline: rkisp1: Refresh to match upstream X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, This series refresh the RkISP1 pipeline handler to match what is in the media-tree. As the upstream driver is in staging and bound to change quiet a bit no attempt to keep the libcamera pipeline backwards compatible have been made. To fully test this on must run a system no older then [1] from the linux-media tree. Running a system newer then v5.8 without this series will also fail as there are upstream changes breaking current libcamera master. Apart from aligning the pipeline with the upstream driver it's now trivial to enable support for R8, RGB656 and XBGR8888 in the pipeline. As these have been troublesome in the past due to issues now fixed upstream every format supported by the pipeline (YUYV, NV16, NV61, NV21, NV12, R8, RGB565 and XRGB8888) have been retested and converted using raw2rgbpnm to validate that the captured data is good. 1. 7eba47ab7a310ed8 ("media: staging: rkisp1: cap: protect access to buf with the spin lock") Niklas Söderlund (6): libcamera: pipeline: rkisp1: Remove support for YVYU and VYUY libcamera: pipeline: rkisp1: Fix media bus propagation for NV{12,21} libcamera: pipeline: rkisp1: Add support for RGB656 libcamera: pipeline: rkisp1: Add support for R8 libcamera: Add support for XRGB8888 and XBGR8888 libcamera: pipeline: rkisp1: Add support for XRGB8888 src/libcamera/formats.cpp | 20 ++++++++++++++ src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 27 +++++++++++++------ src/libcamera/v4l2_pixelformat.cpp | 2 ++ 3 files changed, 41 insertions(+), 8 deletions(-) Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi