From patchwork Tue Jul 9 14:39:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Scally X-Patchwork-Id: 20617 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 0FD9ABDB1C for ; Tue, 9 Jul 2024 14:39:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0142763376; Tue, 9 Jul 2024 16:39:21 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="h/8FsfsA"; 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 B671A619B9 for ; Tue, 9 Jul 2024 16:39:19 +0200 (CEST) Received: from mail.ideasonboard.com (cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 30B6613D7; Tue, 9 Jul 2024 16:38:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1720535927; bh=kDyE9jbb/Tx+bOIrNY/EyszBPXx70A11wRLPW4kujaE=; h=From:To:Cc:Subject:Date:From; b=h/8FsfsAUz4yoxh/0PCFUgIa0M01JIad+wTSdCx2OJe11ccdFQqkKbdaXN8AbmUhf /jFsrx0LoQPLx2AsAEMkCGTv5vcPqT0wwCWotggtdtmGxIJrj6Crs4lKUbqXUUX35V XMqCmhJRZtiG96km9LYUUGhc9rLDBY/IuyvkM/50= From: Daniel Scally To: libcamera-devel@lists.libcamera.org Cc: Daniel Scally Subject: [PATCH v4 00/13] Miscellaneous Mali-C55 Pipeline Fixes Date: Tue, 9 Jul 2024 15:39:00 +0100 Message-Id: <20240709143913.3276983-1-dan.scally@ideasonboard.com> X-Mailer: git-send-email 2.34.1 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" v3-v4: based on the v6 of the kernel driver [1] - Collecting tags - Added patches correcting the representation of input/output formats (#10) - Added a patch enabling links between resizer and capture device, which in the latest version of the kernel driver are mutable (#11) - Added the ScalerCrop patches back in (#12 and #13) v2->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 Dan [1] https://lore.kernel.org/linux-media/20240709132906.3198927-1-dan.scally@ideasonboard.com/ Daniel Scally (6): 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 libcamera: mali-c55: Correct input/output format representation libcamera: mali-c55: Enable links between resizer and video node Jacopo Mondi (7): 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 libcamera: mali-c55: Enable usage of scaler mali-c55: implement support for ScalerCrop include/linux/media-bus-format.h | 9 +- src/libcamera/pipeline/mali-c55/mali-c55.cpp | 350 ++++++++++++++----- src/libcamera/v4l2_subdevice.cpp | 42 +++ 3 files changed, 316 insertions(+), 85 deletions(-)