From patchwork Wed Jun 26 14:02:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 20413 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 5680FBDB1D for ; Wed, 26 Jun 2024 14:03:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2DDB062B67; Wed, 26 Jun 2024 16:03:24 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="FH4fyoiA"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1DC0F61D5B for ; Wed, 26 Jun 2024 16:03:22 +0200 (CEST) Received: from localhost.localdomain (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A6B6073E; Wed, 26 Jun 2024 16:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1719410578; bh=hI8y0QnV6iZkLznTdVQ2C7RH06S3d3thzWj+ekdFDgg=; h=From:To:Cc:Subject:Date:From; b=FH4fyoiAXbRmOv6yAwVzgiek+Yx/TtwadX40oLog4cbCt5d0FkuuBd97mMQR6tYg8 yAcjI1RoL0wbgh/wBD8HJvkQloLTybkMQNYTrgnVoD05GBmudDYAw3PeRqixXy0d0p 3NOTqt5iQEXKMt6RVscr6VGzEFlIrwmxcd2o4+sg= From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi Subject: [PATCH v3 0/9] Miscellaneous Mali-C55 Pipeline Fixes Date: Wed, 26 Jun 2024 16:02:56 +0200 Message-ID: <20240626140309.50052-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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" v->v3: - Collect additional tags - Add 3 patches to add Mali C55 media bus formats to libcamera and to fix 20-bit format propagation to CSI-2 to ISP v1->v2 - Drop ScalerCrop and scaler handling - Limit ISP input size to 640x480 - Adjust the RAW configuration stride and image size to 4 bytes Hi all This set contains a number of fixes to the Mali-C55 pipeline handler that have been in our development tree whilst we worked on the IPA module - they weren't posted before because things have been in quite a lot of flux, but now that the IPA patchset is itself public it's time for these to go upstream too. Thanks Daniel Scally (4): libcamera: mali-c55: Init camera properties libcamera: mali-c55: Simplify bufferReady() libcamera: mali-c55: Remove MaliC55CameraData::mbusCodes() libcamera: mali-c55: Add stride and size to rawConfig Jacopo Mondi (5): libcamera: mali-c55: Limit max size to sensor resolution libcamera: mali-c55: Limit ISP input size include: media-bus-formats: Add Mali-C55 mbus codes libcamera: v4l2-subdevice: Add Mali C55 media bus formats libcamera: mali-c55: Propagate CSI-2 format to ISP include/linux/media-bus-format.h | 9 ++- src/libcamera/pipeline/mali-c55/mali-c55.cpp | 69 ++++++++++---------- src/libcamera/v4l2_subdevice.cpp | 42 ++++++++++++ 3 files changed, 85 insertions(+), 35 deletions(-) --- 2.45.2