{"id":20181,"url":"https://patchwork.libcamera.org/api/1.1/covers/20181/?format=json","web_url":"https://patchwork.libcamera.org/cover/20181/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240601220320.6484-1-laurent.pinchart@ideasonboard.com>","date":"2024-06-01T22:03:17","name":"[0/3] libcamera: Update to the new upstream subdev routing API","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/20181/mbox/","series":[{"id":4349,"url":"https://patchwork.libcamera.org/api/1.1/series/4349/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4349","date":"2024-06-01T22:03:17","name":"libcamera: Update to the new upstream subdev routing API","version":1,"mbox":"https://patchwork.libcamera.org/series/4349/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/20181/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C40F4BDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  1 Jun 2024 22:03:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A9C71634CA;\n\tSun,  2 Jun 2024 00:03:36 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9402261A46\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  2 Jun 2024 00:03:34 +0200 (CEST)","from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 50AE34CC;\n\tSun,  2 Jun 2024 00:03:28 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"c750a1Vy\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1717279408;\n\tbh=ju/atDlZmQiOoUiF0lhJdRwDe/ZhIqSyhiMsglGwSiI=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=c750a1VyPpl5o8hBHyZVlk2/2GsKa3BqJY6lJS/ebMlb5fsofwXUnuQGGpz4n/ypQ\n\tFvxER4+5nne6AGvNnPUMU2KfRRVXdRb2r2n3tsPTfxfAr6JuIkvd4/2a8g0moOnSjU\n\tSr1ydTzx5hM+JxOnjXDDMaWlJQuTCtgs8ACxd/iY=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Kieran Bingham <kieran.bingham@ideasonboard.com>,\n\tHans de Goede <hdegoede@redhat.com>","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","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis small patch series groups patches that have been posted separately\nand now have shown to be related.\n\nPatches 1/3 and 2/3 come from Hans de Goede's \"[PATCH v2 0/5] libcamera:\ndma_buffer_allocator: Add support for using udmabuf to alloc\ndma-buffers\" series. They have been reviewed, and I think they're ready\nto be merged.\n\nPatch 3/3 was previously posted as part of the \"[PATCH/RFC 00/32]\nlibcamera: Support the upstream Unicam driver\" series. It depends on\n2/3, and 2/3 depends on it, as the v6.10-rc1 API changes would otherwise\nbreak users downstream kernels that make use of the routing API.\n\nHans de Goede (2):\n  update-kernel-headers: Add linux/udmabuf.h to headers to sync\n  include: linux: Update kernel headers to version v6.10-rc1\n\nLaurent Pinchart (1):\n  libcamera: v4l2_subdevice: Update to the new kernel routing API\n\n include/libcamera/internal/v4l2_subdevice.h |   3 +\n include/linux/README                        |   2 +-\n include/linux/drm_fourcc.h                  |  10 +-\n include/linux/intel-ipu3.h                  |   3 -\n include/linux/media-bus-format.h            |   9 ++\n include/linux/rkisp1-config.h               |  56 ++++-----\n include/linux/udmabuf.h                     |  33 ++++++\n include/linux/v4l2-controls.h               |   6 +\n include/linux/v4l2-mediabus.h               |  18 ++-\n include/linux/v4l2-subdev.h                 |  29 ++++-\n include/linux/videodev2.h                   |  72 +++++++++---\n src/libcamera/v4l2_subdevice.cpp            | 121 +++++++++++++++++++-\n utils/update-kernel-headers.sh              |   1 +\n 13 files changed, 293 insertions(+), 70 deletions(-)\n create mode 100644 include/linux/udmabuf.h\n\n\nbase-commit: aad5837d70f8d3dc19f62f88f1434e3c9cf5ffbe"}