From patchwork Mon May 4 00:04:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26606 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 8323EBE173 for ; Mon, 4 May 2026 00:04:43 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 12E3D6301F; Mon, 4 May 2026 02:04:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ObAYgQbm"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 821806301A for ; Mon, 4 May 2026 02:04:37 +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 E9C519C for ; Mon, 4 May 2026 02:04:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1777853076; bh=fGeKl1IVdTH4cNdu2/sb/GrRpqha5Msv0Ec03FGE6rY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ObAYgQbm+H8iqWM2NO1qgEfJZSun8Gkrb9MspcaJbW4sMhRmVDP2YGpwPMOXebGxv zH9UXP2PfiSstaDou4e9fHZ2p2e5hGDtPMlC6RR/nr1wkQh3Tlf7FLVAjL34Uwu1RW AgUyvulUoF3gWW8tgGFjzK4wP64TLQuZo8NaQ6X8= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 3/6] utils: update-kernel-headers: Add drm/drm.h and drm/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 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" The drm_fourcc.h header includes "drm.h", which in turn includes "drm_mode.h". We carry a copy of the first header, but not of the last two. The only reason this does not cause any issue is because the drm_fourcc.h copy is not used. In preparation for including drm_fourcc.h in source files, import the drm.h and drm_mode.h headers. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Barnabás Pőcze --- utils/update-kernel-headers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 93599dfe5d52..9f3a79ec6999 100755 --- a/utils/update-kernel-headers.sh +++ b/utils/update-kernel-headers.sh @@ -46,7 +46,9 @@ set +e # Copy the headers headers=" + drm/drm.h drm/drm_fourcc.h + drm/drm_mode.h linux/dma-buf.h linux/dma-heap.h linux/dw100.h