{"id":26603,"url":"https://patchwork.libcamera.org/api/covers/26603/?format=json","web_url":"https://patchwork.libcamera.org/cover/26603/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20260504000431.1340150-1-laurent.pinchart@ideasonboard.com>","date":"2026-05-04T00:04:25","name":"[0/6] libcamera: kernel headers update","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/26603/mbox/","series":[{"id":5900,"url":"https://patchwork.libcamera.org/api/series/5900/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5900","date":"2026-05-04T00:04:25","name":"libcamera: kernel headers update","version":1,"mbox":"https://patchwork.libcamera.org/series/5900/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/26603/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 07F65BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  4 May 2026 00:04:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B8EAE6301E;\n\tMon,  4 May 2026 02:04:35 +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 A4B0E62E6A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  4 May 2026 02:04:33 +0200 (CEST)","from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id EB4C09C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  4 May 2026 02:04:31 +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=\"dT5uE5rO\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1777853072;\n\tbh=OCcvFk/hXMnkNe9utCXSKfLfhnjXWj6bW+KU+NHZYAQ=;\n\th=From:To:Subject:Date:From;\n\tb=dT5uE5rOERTwRVGwbM6+5vyNcliaGEtoS1QA6C/4Uq6OhHNMFkIO/Xsx4dt/W7h9r\n\twJO2MnUcQSzog2imyQgXxG7OFLk9rlk7acF2clDQ2HbEOAPanW7CN9jVET5F3qNNaN\n\twNbmi4f+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>,\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 patch series updates the kernel headers from v6.18 to v7.0.\n\nThe series starts (patch 1/6) by moving the local copy of\nmali-c55-config.h, imported before it was merged in the mainline kernel,\nto its correct location. The next three patches (2/6 to 4/6) then update\nthe update-kernel-headers to create the destination directory and copy\nadditional headers. Patch 5/6 performs the update to v7.0.\n\nThe v7.0 headers do not bring any important change for libcamera by\nthemselves, but we now import the drm.h and drm_mode.h headers. This\nallows including the local copy of drm_fourcc.h, which patch 6/6 uses to\nreplace the version from libdrm.\n\nAs usual, some local changes to kernel headers are kept. They include\n\n- DRM formats and modifiers that have not been upstreamed (for MJPEG,\n  Bayer data, and raw CSI-2, IPU3 and RPI5 packing)\n\n- BCM2835 (Raspberry Pi 4 and older) ISP formats and controls\n\n- Internal pads and generic metadata\n\nThe last two categories are work in progress upstream (with the BCM2835\nISP being under review on the linux-media mailing list). DRM formats and\nmodifiers should be addresses separately, and I envision this will\ninvolve decoupling the CFA pattern from the pixel format.\n\nLaurent Pinchart (6):\n  include: linux: Move mali-c55-config.h header to correct location\n  utils: update-kernel-headers: Create destination directory\n  utils: update-kernel-headers: Add drm/drm.h and drm/drm_mode.h\n  utils: update-kernel-headers: Add linux/media/arm/mali-c55-config.h\n  include: linux: Update to Linux v7.0\n  libcamera: egl: Don't depend on libdrm\n\n include/linux/README                          |    2 +-\n include/linux/dma-buf.h                       |    1 +\n include/linux/drm.h                           | 1465 ++++++++++++++++\n include/linux/drm_fourcc.h                    |   12 +-\n include/linux/drm_mode.h                      | 1535 +++++++++++++++++\n .../linux/{ => media/arm}/mali-c55-config.h   |    0\n include/linux/rkisp1-config.h                 |   98 +-\n include/linux/stddef.h                        |    4 +\n include/linux/v4l2-controls.h                 |   69 +\n include/linux/videodev2.h                     |    7 +-\n src/ipa/mali-c55/algorithms/algorithm.h       |    2 +-\n src/ipa/mali-c55/mali-c55.cpp                 |    2 +-\n src/ipa/mali-c55/module.h                     |    2 +-\n src/ipa/mali-c55/params.h                     |    2 +-\n src/libcamera/egl.cpp                         |    3 +-\n src/libcamera/pipeline/mali-c55/mali-c55.cpp  |    2 +-\n utils/update-kernel-headers.sh                |    7 +-\n 17 files changed, 3113 insertions(+), 100 deletions(-)\n create mode 100644 include/linux/drm.h\n create mode 100644 include/linux/drm_mode.h\n rename include/linux/{ => media/arm}/mali-c55-config.h (100%)\n\n\nbase-commit: 183e37362f57ff3ce7493abf0bc6f1b57b931f55"}