From patchwork Wed Jan 5 08:55:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 15247 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 5301EBE080 for ; Wed, 5 Jan 2022 08:56:12 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 82A7A60929; Wed, 5 Jan 2022 09:56:11 +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="cQN+z1I0"; dkim-atps=neutral Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7279660115 for ; Wed, 5 Jan 2022 09:56:09 +0100 (CET) Received: by mail-wr1-x429.google.com with SMTP id v6so19771143wra.8 for ; Wed, 05 Jan 2022 00:56:09 -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=iyr6QAl4e9ANhTBRYx1oDapCKrtI2q7/Poi8a5qRJak=; b=cQN+z1I0+I83Z7TNWnf/p3QkeSMxT9lZYMFy/jWVPmVvYwE1BaSEVTGCpD9GlFEsKn SEvvEFT7ltvq/5WDBw6dDF0NoZafH1RRLP+Tp7tVbsM3fu0Q6/2qYr1Auy/fkngyYmtA Xz7DTzquCxMC62adMASFtHOGAUcBTX//CZ92OArgARoYekkB5qF7LNxdh/27w9FJFEuN e2Uod3xk7/d1lsHHiQDoKIXgj/A1WXq8ny3OCNxHz5SgF4kW59/UxLcLzY6K2Bblbrcr NjjdXII3Ag5QYUXXYBGJYJM7773R3Q5Mg4SbvqDHxBFuIlgrXvywv+Zy4A/knVUPFSSh zzNg== 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=iyr6QAl4e9ANhTBRYx1oDapCKrtI2q7/Poi8a5qRJak=; b=YnKdXkbrXzHObgrq473nxJQkb/8jDImn9eO9jLsHm0xC4eBny2WgpvkPDgCvasg1Vq OUhQTlb6Eda/8Mi5zfkAG/kvjaZm+i77Al26R1jhAolW5nXQO2QL/xR30cqoAL+fCvE6 GpIMPh4vT5Fd4WwReyUx5bd+os6FHi5ibxb75gjZOexU+FWyY09PubDJ0KaidU2OWmVl SiZcawSdhJs0KhB/tvrHAy7guoBNC9uBweqlCquGJhAXWRdsp2isqes008Rl0QAIDMTn XlbpdifveengV44JrkXqAsqgPBQeVnOu/+RY9fZ6tBq3PguGCI1s7SBgaGMQKBH1fTkK l96w== X-Gm-Message-State: AOAM533lNTt3L7ALCFi0eocdgXol1WJkUP1b6RvkGUsNPFq/QDfEqpgG Ms9Zc113XXwT/LsZFcR1SOOtrYENnNqNWNWU X-Google-Smtp-Source: ABdhPJxzIu86ur2PSMyq9w8/LMmbxAg1Ghjmsay+nyf7oIRYGspQ8+zgDq99rzaea+Vv+4gw9M9Cvg== X-Received: by 2002:a5d:66d2:: with SMTP id k18mr46176173wrw.430.1641372968892; Wed, 05 Jan 2022 00:56:08 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id g8sm1902149wmh.17.2022.01.05.00.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 00:56:08 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Wed, 5 Jan 2022 08:55:50 +0000 Message-Id: <20220105085553.12092-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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 Revision 2 of this patch set adopts all the various suggestions made. As before, there are 3 patches: 1. The first patch is a complete update of all the kernel headers to v5.16-rc7. Hope I've done that right! 2. Add support for integer array controls. 3. Set V4L2_CID_NOTIFY_GAINS from the colour gains. This now happens directly in the pipeline handler and not via the IPA. 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 | 54 +-- 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 | 26 ++ src/libcamera/v4l2_device.cpp | 33 +- 10 files changed, 678 insertions(+), 79 deletions(-)