From patchwork Sat Jun 1 22:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20181 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 C40F4BDE6B for ; Sat, 1 Jun 2024 22:03:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A9C71634CA; Sun, 2 Jun 2024 00:03:36 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="c750a1Vy"; 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 9402261A46 for ; Sun, 2 Jun 2024 00:03:34 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 50AE34CC; Sun, 2 Jun 2024 00:03:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1717279408; bh=ju/atDlZmQiOoUiF0lhJdRwDe/ZhIqSyhiMsglGwSiI=; h=From:To:Cc:Subject:Date:From; b=c750a1VyPpl5o8hBHyZVlk2/2GsKa3BqJY6lJS/ebMlb5fsofwXUnuQGGpz4n/ypQ FvxER4+5nne6AGvNnPUMU2KfRRVXdRb2r2n3tsPTfxfAr6JuIkvd4/2a8g0moOnSjU Sr1ydTzx5hM+JxOnjXDDMaWlJQuTCtgs8ACxd/iY= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Kieran Bingham , Hans de Goede Subject: [PATCH 0/3] libcamera: Update to the new upstream subdev routing API Date: Sun, 2 Jun 2024 01:03:17 +0300 Message-ID: <20240601220320.6484-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.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" Hello, This small patch series groups patches that have been posted separately and now have shown to be related. Patches 1/3 and 2/3 come from Hans de Goede's "[PATCH v2 0/5] libcamera: dma_buffer_allocator: Add support for using udmabuf to alloc dma-buffers" series. They have been reviewed, and I think they're ready to be merged. Patch 3/3 was previously posted as part of the "[PATCH/RFC 00/32] libcamera: Support the upstream Unicam driver" series. It depends on 2/3, and 2/3 depends on it, as the v6.10-rc1 API changes would otherwise break users downstream kernels that make use of the routing API. Hans de Goede (2): update-kernel-headers: Add linux/udmabuf.h to headers to sync include: linux: Update kernel headers to version v6.10-rc1 Laurent Pinchart (1): libcamera: v4l2_subdevice: Update to the new kernel routing API include/libcamera/internal/v4l2_subdevice.h | 3 + include/linux/README | 2 +- include/linux/drm_fourcc.h | 10 +- include/linux/intel-ipu3.h | 3 - include/linux/media-bus-format.h | 9 ++ include/linux/rkisp1-config.h | 56 ++++----- include/linux/udmabuf.h | 33 ++++++ include/linux/v4l2-controls.h | 6 + include/linux/v4l2-mediabus.h | 18 ++- include/linux/v4l2-subdev.h | 29 ++++- include/linux/videodev2.h | 72 +++++++++--- src/libcamera/v4l2_subdevice.cpp | 121 +++++++++++++++++++- utils/update-kernel-headers.sh | 1 + 13 files changed, 293 insertions(+), 70 deletions(-) create mode 100644 include/linux/udmabuf.h base-commit: aad5837d70f8d3dc19f62f88f1434e3c9cf5ffbe