From patchwork Wed Jan 5 15:55:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 15251 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 04D1EBE080 for ; Wed, 5 Jan 2022 15:55:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 23D576092E; Wed, 5 Jan 2022 16:55:54 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="dcDcM2xc"; dkim-atps=neutral Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1070B60868 for ; Wed, 5 Jan 2022 16:55:51 +0100 (CET) Received: by mail-wr1-x432.google.com with SMTP id s1so83995697wra.6 for ; Wed, 05 Jan 2022 07:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nV2BVAE77/Cn+bCukgWoyyoUozlCogtia3rp5wobLa4=; b=dcDcM2xclOtxHHHVRCdGRBzlDa2WX/Q+1gcV0eLHmsj/j2O+RNZWOvNQe16zrCc1+A INj1qNF9AOJ1jbcDBOCFJCXn7pEA5s0dJbJJUKQPtQ/z4gzWkRX81HyRo4jyGAqCjBRP AoRi9BHvWhvmq+oglRWp8Vt7YFBBYATeOu/zk6WAc1Reyf9dMdOOp1R2ZMkFHdbJwUs1 PSfA0foRpV2OQ0oIyUJYgez77/oWIyVMfCFqkH+q1/Pa5ewxRjuFHG5fXTFUk3xNW85x E/Db9mzbvndp55taNSEGU6jTbsbRAMSmvQ0ODvjNasFPfOI3GjNHb3+3rz1vzFxghceT 64yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nV2BVAE77/Cn+bCukgWoyyoUozlCogtia3rp5wobLa4=; b=fpCW5bl9rt80I+RfDK74Fio8nr/XsFBQE4a3TQM0eRbCkQCUdewfyxcLpuJt+rCBvp 3p2kNMmbpUBWekWAo5JFc6291y7TaIL7CghiFXUB+Tgv5bzFbUXc52Em54zluS8R7eob KeXz67GQ99jIN6cDqYRTGg3TSJQRkq2hOvjcEmcrKoeXGlT5bTAT7dJDZN7kCTzOCaR6 mtCLoFfuRjpAUlnZXa5Ws3aiz9492wNEzAAHOrL66NvTbWmz1fn0ZdYEaWPfYdizSCuO r6d9iUJkmwjKSlMxzfUVB0PMrHg/CLAUzsghG7i9LVdArxO6hQhwbsXBdflroAcCt7ei LeYA== X-Gm-Message-State: AOAM532NffyQ8AEvvWEVb/e7DD7PI8Y8DOMqJlpRHHVdQPkuKkT9P4W7 er4p84WHANVYn+g9Elj57JN9vVtWq8L0yDup X-Google-Smtp-Source: ABdhPJzGLumN6omRakjf/jjtEFN9sbfWarpIetfS79sc7Si4SFGTInVuzoZbcbAVybEZdQ+QMHGXoQ== X-Received: by 2002:a5d:51d2:: with SMTP id n18mr46398802wrv.83.1641398151405; Wed, 05 Jan 2022 07:55:51 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id g18sm3387491wmq.5.2022.01.05.07.55.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 07:55:51 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Wed, 5 Jan 2022 15:55:36 +0000 Message-Id: <20220105155539.5550-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/3] Make use of V4L2_CID_NOTIFY_GAINS 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" Hi everyone Thanks for the various comments. Here's v3, with 3 patches as before: 1. Kernel header updates. This set fixes the issues with the ipu3 header. All the pipeline handlers compile. 2. Support for integer array controls. Unchanged from v2. 3. Changes to the Raspberry Pi pipeline handler, somewhat tidied from the previous version. Thanks! David David Plowman (3): include: linux: Update kernel headers to version v5.16-rc7 libcamera: v4l2_device: Add support for integer array controls libcamera: pipeline: raspberrypi: Update sensor's V4L2_CID_NOTIFY_GAINS control include/linux/README | 2 +- include/linux/dma-buf.h | 50 ++- include/linux/drm_fourcc.h | 122 +++++- include/linux/intel-ipu3.h | 21 +- include/linux/rkisp1-config.h | 16 +- include/linux/v4l2-controls.h | 383 +++++++++++++++++- include/linux/v4l2-subdev.h | 12 +- include/linux/videodev2.h | 59 ++- .../pipeline/raspberrypi/raspberrypi.cpp | 31 ++ src/libcamera/v4l2_device.cpp | 33 +- 10 files changed, 678 insertions(+), 51 deletions(-)