Patch Detail
Show a patch.
GET /api/patches/26606/?format=api
{ "id": 26606, "url": "https://patchwork.libcamera.org/api/patches/26606/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26606/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "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-4-laurent.pinchart@ideasonboard.com>", "date": "2026-05-04T00:04:28", "name": "[3/6] utils: update-kernel-headers: Add drm/drm.h and drm/drm_mode.h", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a0c5e6d4f18389e575aa924304968981e462851f", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26606/mbox/", "series": [ { "id": 5900, "url": "https://patchwork.libcamera.org/api/series/5900/?format=api", "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/patches/26606/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26606/checks/", "tags": {}, "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 8323EBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 4 May 2026 00:04:43 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 12E3D6301F;\n\tMon, 4 May 2026 02:04:43 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 821806301A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 4 May 2026 02:04:37 +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 E9C519C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 4 May 2026 02:04:35 +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=\"ObAYgQbm\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1777853076;\n\tbh=fGeKl1IVdTH4cNdu2/sb/GrRpqha5Msv0Ec03FGE6rY=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=ObAYgQbm+H8iqWM2NO1qgEfJZSun8Gkrb9MspcaJbW4sMhRmVDP2YGpwPMOXebGxv\n\tzH9UXP2PfiSstaDou4e9fHZ2p2e5hGDtPMlC6RR/nr1wkQh3Tlf7FLVAjL34Uwu1RW\n\tAgUyvulUoF3gWW8tgGFjzK4wP64TLQuZo8NaQ6X8=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Subject": "[PATCH 3/6] utils: update-kernel-headers: Add drm/drm.h and\n\tdrm/drm_mode.h", "Date": "Mon, 4 May 2026 03:04:28 +0300", "Message-ID": "<20260504000431.1340150-4-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260504000431.1340150-1-laurent.pinchart@ideasonboard.com>", "References": "<20260504000431.1340150-1-laurent.pinchart@ideasonboard.com>", "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": "The drm_fourcc.h header includes \"drm.h\", which in turn includes\n\"drm_mode.h\". We carry a copy of the first header, but not of the last\ntwo. The only reason this does not cause any issue is because the\ndrm_fourcc.h copy is not used.\n\nIn preparation for including drm_fourcc.h in source files, import the\ndrm.h and drm_mode.h headers.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/update-kernel-headers.sh | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh\nindex 93599dfe5d52..9f3a79ec6999 100755\n--- a/utils/update-kernel-headers.sh\n+++ b/utils/update-kernel-headers.sh\n@@ -46,7 +46,9 @@ set +e\n \n # Copy the headers\n headers=\"\n+\tdrm/drm.h\n \tdrm/drm_fourcc.h\n+\tdrm/drm_mode.h\n \tlinux/dma-buf.h\n \tlinux/dma-heap.h\n \tlinux/dw100.h\n", "prefixes": [ "3/6" ] }