| Message ID | 20260504000431.1340150-1-laurent.pinchart@ideasonboard.com |
|---|---|
| Headers | show
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 [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 07F65BE173 for <parsemail@patchwork.libcamera.org>; Mon, 4 May 2026 00:04:37 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B8EAE6301E; Mon, 4 May 2026 02:04:35 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dT5uE5rO"; 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 A4B0E62E6A for <libcamera-devel@lists.libcamera.org>; Mon, 4 May 2026 02:04:33 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-703d-e500--2a1.rev.dnainternet.fi [IPv6:2001:14ba:703d:e500::2a1]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EB4C09C for <libcamera-devel@lists.libcamera.org>; Mon, 4 May 2026 02:04:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1777853072; bh=OCcvFk/hXMnkNe9utCXSKfLfhnjXWj6bW+KU+NHZYAQ=; h=From:To:Subject:Date:From; b=dT5uE5rOERTwRVGwbM6+5vyNcliaGEtoS1QA6C/4Uq6OhHNMFkIO/Xsx4dt/W7h9r wJO2MnUcQSzog2imyQgXxG7OFLk9rlk7acF2clDQ2HbEOAPanW7CN9jVET5F3qNNaN wNbmi4f+zC0CJkKSYgrgxH2LyjEH717vAksX9L9Q= From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> To: libcamera-devel@lists.libcamera.org Subject: [PATCH 0/6] libcamera: kernel headers update Date: Mon, 4 May 2026 03:04:25 +0300 Message-ID: <20260504000431.1340150-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.53.0 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>, <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>, <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> |
| Series |
|
| Related |
show
|
Hello, This patch series updates the kernel headers from v6.18 to v7.0. The series starts (patch 1/6) by moving the local copy of mali-c55-config.h, imported before it was merged in the mainline kernel, to its correct location. The next three patches (2/6 to 4/6) then update the update-kernel-headers to create the destination directory and copy additional headers. Patch 5/6 performs the update to v7.0. The v7.0 headers do not bring any important change for libcamera by themselves, but we now import the drm.h and drm_mode.h headers. This allows including the local copy of drm_fourcc.h, which patch 6/6 uses to replace the version from libdrm. As usual, some local changes to kernel headers are kept. They include - DRM formats and modifiers that have not been upstreamed (for MJPEG, Bayer data, and raw CSI-2, IPU3 and RPI5 packing) - BCM2835 (Raspberry Pi 4 and older) ISP formats and controls - Internal pads and generic metadata The last two categories are work in progress upstream (with the BCM2835 ISP being under review on the linux-media mailing list). DRM formats and modifiers should be addresses separately, and I envision this will involve decoupling the CFA pattern from the pixel format. Laurent Pinchart (6): include: linux: Move mali-c55-config.h header to correct location utils: update-kernel-headers: Create destination directory utils: update-kernel-headers: Add drm/drm.h and drm/drm_mode.h utils: update-kernel-headers: Add linux/media/arm/mali-c55-config.h include: linux: Update to Linux v7.0 libcamera: egl: Don't depend on libdrm include/linux/README | 2 +- include/linux/dma-buf.h | 1 + include/linux/drm.h | 1465 ++++++++++++++++ include/linux/drm_fourcc.h | 12 +- include/linux/drm_mode.h | 1535 +++++++++++++++++ .../linux/{ => media/arm}/mali-c55-config.h | 0 include/linux/rkisp1-config.h | 98 +- include/linux/stddef.h | 4 + include/linux/v4l2-controls.h | 69 + include/linux/videodev2.h | 7 +- src/ipa/mali-c55/algorithms/algorithm.h | 2 +- src/ipa/mali-c55/mali-c55.cpp | 2 +- src/ipa/mali-c55/module.h | 2 +- src/ipa/mali-c55/params.h | 2 +- src/libcamera/egl.cpp | 3 +- src/libcamera/pipeline/mali-c55/mali-c55.cpp | 2 +- utils/update-kernel-headers.sh | 7 +- 17 files changed, 3113 insertions(+), 100 deletions(-) create mode 100644 include/linux/drm.h create mode 100644 include/linux/drm_mode.h rename include/linux/{ => media/arm}/mali-c55-config.h (100%) base-commit: 183e37362f57ff3ce7493abf0bc6f1b57b931f55